Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release create "$GITHUB_REF_NAME" dist/*.zip dist/SHA256SUMS \
# a tag with a suffix (v1.0.0-alpha.1, -beta.2, -rc.1) is a pre-release
pre=""
case "$GITHUB_REF_NAME" in *-*) pre="--prerelease" ;; esac
gh release create "$GITHUB_REF_NAME" dist/*.zip dist/SHA256SUMS $pre \
--title "smbact-shell $GITHUB_REF_NAME" \
--notes "GNOME Shell extension smbact@giglabo.com, protocol com.giglabo.SMBAct.Shell1 API 1. See PROTOCOL.md."
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ everyone else.

## Releases

A tag `vX.Y.Z` (equal to `version-name` in `metadata.json`) makes GitHub Actions publish
A tag `vX.Y.Z` (equal to `version-name` in `metadata.json`; `vX.Y.Z-alpha.N`, `-beta.N`, `-rc.N` become pre-releases) makes GitHub Actions publish
`smbact@giglabo.com.shell-extension.zip` and `SHA256SUMS` as a release. SMBAct pins a tag and checks the sha256.
Every push to `main` and every pull request runs the checks and packs the zip (`.github/workflows/`).

Expand Down
2 changes: 1 addition & 1 deletion gnome-shell/smbact@giglabo.com/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"shell-version": ["46", "47", "48", "49", "50", "51"],
"url": "https://github.com/GigLaboCom/smbact-shell",
"version": 1,
"version-name": "1.0.0"
"version-name": "1.0.0-alpha.1"
}
Loading