Update the version in these files:
shipnode(line 13:VERSION="x.x.x")install.sh(line 13:ShipNode Installer vx.x.x)build-dist.sh(line 8:VERSION="x.x.x")
make buildThis creates dist/shipnode-installer.sh.
Test the installer locally:
bash dist/shipnode-installer.shChoose a test location and verify it works.
git add .
git commit -m "Release vx.x.x"
git tag -a vx.x.x -m "Version x.x.x"
git push origin main
git push origin vx.x.xThe GitHub Action will automatically:
- Build the installer
- Create a GitHub release
- Upload
shipnode-installer.shas a release asset
If you prefer manual releases:
- Go to GitHub releases: https://github.com/devalade/shipnode/releases
- Click "Draft a new release"
- Choose the tag you just pushed
- Upload
dist/shipnode-installer.sh - Write release notes
- Publish release
- Version updated in all files
- Distribution built successfully
- Installer tested locally
- Changes committed
- Tag created and pushed
- GitHub release created
- Release notes written
- Installer URL works:
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh
Follow semantic versioning:
- Major (x.0.0): Breaking changes
- Minor (1.x.0): New features, backwards compatible
- Patch (1.0.x): Bug fixes
## What's New
- Feature 1
- Feature 2
- Bug fix 1
## Installation
Download and run:
\`\`\`bash
curl -fsSL https://github.com/devalade/shipnode/releases/download/vx.x.x/shipnode-installer.sh | bash
\`\`\`
Or from source:
\`\`\`bash
git clone https://github.com/devalade/shipnode.git
cd shipnode
git checkout vx.x.x
./install.sh
\`\`\`
## Changelog
Full changelog: vx.x.x-1...vx.x.xIf a release has issues:
-
Delete the tag:
git tag -d vx.x.x git push origin :refs/tags/vx.x.x
-
Delete the GitHub release
-
Fix issues and re-release