mirror of
https://github.com/zerotier/zeronsd.git
synced 2026-05-22 16:25:37 -07:00
c0ea111ee5
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2.4 KiB
2.4 KiB
Cutting a release
If any of this doesn't work, alert @erikh immediately.
- Run
make cleanand let it run as root. - Edit
Cargo.tomlto update the version string near the top of the file. - Put a token attached to a central instance into
test-token.txt. This file is in.gitignoreand should not be attached to networks you care about. make test-integration. This will create and join your host to several networks.- Commit and push main:
git commit -a -s -m "zeronsd v<version>" && git push <remote> main - Tag git:
git tag v<version>. Thevis important here. Delete the tag if you created a non-vtag. - Push the tag:
git push <remote> v<version> - Push cargo:
cargo publish. (Get @erikh involved if you need to) make test-packages. Read the output to ensure it passes. It will also build the packages.- Push docker images:
make docker-image-push. This will also taglatestimages. - Edit the release tag, it'll be here.
- In the
targetdirectory, there will be several files. Push them to the release.zeronsd_*.debis for debian/ubuntu systems.zeronsd-*.rpmis for RedHat systems.
- In the
- Windows: Start up a windows VM. You should have the following tools:
- Rust Compiler -- note that this yields an unsigned binary. Just install it, wimp.
- Follow the printed instructions on getting the C++ runtime. You will need it.
- If cargo doesn't work after this, you've done it wrong.
- Strawberry Perl needs to be installed to build the openssl dependency.
- WIX Toolset also needs to be installed.
- Finally, set up some kind of clone of the tag, or VM shared folders.
- Run
cargo wix -L -ext -L WixFirewallExtension -C -ext -C WixFirewallExtensionin a windows terminal.- The resulting installer will be in
target/wix/*.msi. You do not need the other files.
- The resulting installer will be in
- Rust Compiler -- note that this yields an unsigned binary. Just install it, wimp.
- OS X: Get permissions from Joseph to commit to homebrew-tap or submit a PR.
- Edit
Formula/zeronsd.rband change the following attributes:- version
- git SHA
- Commit it and run
make test-packages. This will test the installation of your package on linuxbrew and mac homebrew.
- Edit