Skip to content

Commit

Permalink
Ensure SpiceDB release versions are semver
Browse files Browse the repository at this point in the history
  • Loading branch information
josephschorr committed Mar 6, 2024
1 parent 4daa70c commit 3e01500
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ jobs:
with:
fetch-depth: 0
- uses: "authzed/actions/setup-go@main"
- uses: "nowsprinting/check-version-format-action@v3"
id: "version"
with:
prefix: "v"
- name: "Fail for an invalid version"
if: "${{ !startsWith(github.ref_name, 'v') || steps.version.outputs.is_valid != 'true' }}"
run: 'echo "SpiceDB version must start with `v` and be a semver" && exit 1'
shell: "bash"
- uses: "authzed/actions/docker-login@main"
with:
quayio_token: "${{ secrets.QUAYIO_PASSWORD }}"
Expand Down

0 comments on commit 3e01500

Please sign in to comment.