提交记录修改CHANGELOG.md+3 −1看文件
修改Makefile+3 −3看文件
修改README.md+1 −1看文件
修改RELEASING.md+10 −54看文件
| @@ -1,8 +1,10 @@ | ||
| 1 | 1 | # Changelog |
| 2 | 2 | |
| 3 | 新增:## Unreleased | |
| 4 | 新增: | |
| 3 | 5 | ## 0.3.0 |
| 4 | 6 | |
| 5 | 删除:agent-vm 0.3 is one Go binary with Lima built in (see PLAN_0.3.0.md). The | |
| 7 | 新增:agent-vm 0.3 is one Go binary with Lima built in. The | |
| 6 | 8 | bash version (`agent-vm.sh`, `lib/`) is gone from the repository: 0.2.x |
| 7 | 9 | stays on its tags. Changes against 0.2.1: |
| 8 | 10 | |
| @@ -12,9 +12,9 @@ | ||
| 12 | 12 | GO ?= go |
| 13 | 13 | GOOS ?= $(shell $(GO) env GOOS) |
| 14 | 14 | GOARCH ?= $(shell $(GO) env GOARCH) |
| 15 | 删除:# The tag when HEAD has one, else the next release's: a build of the 0.3 | |
| 16 | 删除:# branch is 0.3.0-dev, not 0.2.0-N after the last tag (version --min). | |
| 17 | 删除:NEXT_VERSION := 0.3.0 | |
| 15 | 新增:# The tag when HEAD has one, else the next release's: a build after 0.3.0 is | |
| 16 | 新增:# 0.3.1-dev, not 0.3.0-N after the last tag (version --min). | |
| 17 | 新增:NEXT_VERSION := 0.3.1 | |
| 18 | 18 | VERSION ?= $(shell t=$$(git describe --tags --match 'v[0-9]*' --exact-match --dirty=.m 2>/dev/null) && echo "$$t" | sed 's/^v//' || \ |
| 19 | 19 | echo "$(NEXT_VERSION)-dev.$$(git rev-parse --short HEAD 2>/dev/null || echo unknown)") |
| 20 | 20 | LIMA_VERSION := $(shell awk '$$1 == "lima" { print $$4 }' third_party/SOURCES) |
| @@ -50,7 +50,7 @@ make check-third-party test-third-party # Lima, sshocker, pkg/sftp, gvisor-ta | ||
| 50 | 50 | make fuzz FUZZTIME=5m # each fuzzer; their seeds run with the tests |
| 51 | 51 | ``` |
| 52 | 52 | |
| 53 | 删除:Releases: [RELEASING.md](RELEASING.md). Plan: [PLAN_0.3.0.md](PLAN_0.3.0.md). The website is in [`www/`](www/README.md). Changes: [CHANGELOG.md](CHANGELOG.md). | |
| 53 | 新增:Releases: [RELEASING.md](RELEASING.md). The website is in [`www/`](www/README.md). Changes: [CHANGELOG.md](CHANGELOG.md). | |
| 54 | 54 | |
| 55 | 55 | ## License |
| 56 | 56 | |
| @@ -26,57 +26,13 @@ binaries `osslsigncode` (`brew install osslsigncode`). | ||
| 26 | 26 | - A run that tagged and then failed is resumed by running it again. |
| 27 | 27 | 3. In a commit after it: `NEXT_VERSION` to the next version, and a new `## Unreleased` section. |
| 28 | 28 | |
| 29 | 删除:## 0.3.0 from its branch, main staying on 0.2.1 | |
| 30 | 删除: | |
| 31 | 删除:`main` holds 0.2.1, and the site, `www/public/install.sh` included, is deployed from it. 0.3.0 can | |
| 32 | 删除:go out from the `0.3.0` branch for those who ask for it, while everyone else keeps 0.2.1. | |
| 33 | 删除: | |
| 34 | 删除:1. On `main`, the new installer only: it takes the tarball of the machine, as 0.3 publishes them, | |
| 35 | 删除: and still installs 0.2.x releases (one tarball for all). Without it, nothing installs 0.3.0. | |
| 36 | 删除: | |
| 37 | 删除: ```bash | |
| 38 | 删除: git checkout main | |
| 39 | 删除: git checkout 0.3.0 -- www/public/install.sh | |
| 40 | 删除: git commit -m "installer: per-platform release tarballs" | |
| 41 | 删除: git push # the www workflow deploys it | |
| 42 | 删除: ``` | |
| 43 | 删除: | |
| 44 | 删除: Then check that `curl -fsSL https://www.agent-vm.org/install.sh | sh` still installs 0.2.1. | |
| 45 | 删除: | |
| 46 | 删除:2. On `0.3.0`: CHANGELOG.md's `## Unreleased` renamed `## 0.3.0` (`NEXT_VERSION` is already | |
| 47 | 删除: 0.3.0), committed and pushed; CI passes on it. | |
| 48 | 删除: | |
| 49 | 删除:3. On the Mac, from the `0.3.0` branch: | |
| 50 | 删除: | |
| 51 | 删除: ```bash | |
| 52 | 删除: RELEASE_BRANCH=0.3.0 ./release.sh 0.3.0 --not-latest --dry-run | |
| 53 | 删除: RELEASE_BRANCH=0.3.0 ./release.sh 0.3.0 --not-latest | |
| 54 | 删除: ``` | |
| 55 | 删除: | |
| 56 | 删除: `--not-latest` publishes it without making it GitHub's latest release: the installer's default | |
| 57 | 删除: stays 0.2.1. It also leaves the Homebrew formula alone, `AGENT_VM_TAP` or not. | |
| 58 | 删除: | |
| 59 | 删除:4. Check: `gh release view v0.3.0` shows it; a plain install still gives 0.2.1; on a test machine, | |
| 60 | 删除: `curl -fsSL https://www.agent-vm.org/install.sh | sh -s -- --version 0.3.0` gives 0.3.0. | |
| 61 | 删除: | |
| 62 | 删除:5. Tell people how to try it: | |
| 63 | 删除: | |
| 64 | 删除: ```bash | |
| 65 | 删除: curl -fsSL https://www.agent-vm.org/install.sh | sh -s -- --version 0.3.0 | |
| 66 | 删除: # or, from a clone (Go needed) | |
| 67 | 删除: git checkout v0.3.0 && ./agent-vm.sh install | |
| 68 | 删除: ``` | |
| 69 | 删除: | |
| 70 | 删除: Their 0.2 setup carries over: the first command offers to move their VMs, and what 0.2 left on | |
| 71 | 删除: their PATH or in their shell rc runs 0.3 (CHANGELOG.md). | |
| 72 | 删除: | |
| 73 | 删除:A 0.2.x release from `main` meanwhile is made with `main`'s own `release.sh`, as before. It | |
| 74 | 删除:becomes the latest release, which the installer then gives by default, as wanted. | |
| 75 | 删除: | |
| 76 | 删除:## Making 0.3 the default | |
| 77 | 删除: | |
| 78 | 删除:1. Merge `0.3.0` into `main`: the site then documents 0.3. | |
| 79 | 删除:2. `gh release edit v0.3.0 --latest`, or release the next 0.3.x without `--not-latest`. | |
| 80 | 删除:3. The Homebrew formula: one url and sha256 per platform (`on_macos`/`on_linux`, | |
| 81 | 删除: `on_arm`/`on_intel`), installing the tarball's `agent-vm`. From then on, `AGENT_VM_TAP` keeps it | |
| 82 | 删除: up to date at each release. | |
| 29 | 新增:## After it | |
| 30 | 新增: | |
| 31 | 新增:- Check: `gh release view vX.Y.Z` shows it, and on a test machine | |
| 32 | 新增: `curl -fsSL https://www.agent-vm.org/install.sh | sh -s -- --version X.Y.Z` gives X.Y.Z. | |
| 33 | 新增:- The Homebrew formula has one url and sha256 per platform (`on_macos`/`on_linux`, | |
| 34 | 新增: `on_arm`/`on_intel`), installing the tarball's `agent-vm`: that is the shape `AGENT_VM_TAP` updates. | |
| 35 | 新增: Then, in the tap: `brew audit --strict sylvinus/tap/agent-vm`, `brew reinstall` and `brew test` | |
| 36 | 新增: before pushing. | |
| 37 | 新增:- `--not-latest` publishes a release without making it GitHub's latest: the installer's default | |
| 38 | 新增: stays the previous release, and the Homebrew formula is left alone, `AGENT_VM_TAP` or not. | |

