Use diffsense@<short-git-sha> everywhere, no SemVer.
- Ensure all changes are committed and pushed to
main - Verify that
resources/diffsense.shandresources/Diffsense.shortcutare present and up to date - Test the installation locally if possible
- Tag pattern:
diffsense@<short-git-sha>(for example:diffsense@a1b2c3d) - No
vX.Y.Zor mixed formats; all releases are identified solely by commit hash
# 1. Switch to main branch and ensure it's up to date
git checkout main
git pull origin main
# 2. Ensure all release changes are committed
git status
# 3. Capture short SHA of the release commit
SHORT_SHA=$(git rev-parse --short HEAD)
echo "Release SHA: ${SHORT_SHA}"
# 4. Create an annotated release tag
git tag -a "diffsense@${SHORT_SHA}" -m "Release diffsense @ ${SHORT_SHA}"
# 5. Push the tag to trigger GitHub Actions release
git push origin "diffsense@${SHORT_SHA}"The GitHub Actions workflow (.github/workflows/create-release.yml) will automatically:
- Create a new GitHub release with the tag name
- Upload the following assets to the release:
diffsense.sh- The installation scriptDiffsense.shortcut- The macOS Shortcut file
After the workflow completes (usually within a few minutes):
- Check the Releases page to see the new release
- Verify that both assets are attached:
diffsense.sh(downloadable via:https://github.com/edgeleap/diffsense/releases/latest/download/diffsense.sh)Diffsense.shortcut(downloadable via:https://github.com/edgeleap/diffsense/releases/latest/download/Diffsense.shortcut)
- Test the download links in a new browser/incognito window
If you need to delete a release:
# Delete the tag locally and remotely
git tag -d "diffsense@${SHORT_SHA}"
git push origin --delete "diffsense@${SHORT_SHA}"
# The GitHub release will be automatically deleted by the workflow