Skip to content

Commit fe015da

Browse files
committed
Update release.yml to check version
1 parent 040b5da commit fe015da

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
- uses: actions/checkout@v3
1818
- run: go test ./internal
1919

20+
version-check:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v3
24+
- run: cat internal/options.go | grep $GITHUB_REF_NAME
25+
2026
goreleaser:
2127
runs-on: ubuntu-latest
2228
needs: test

0 commit comments

Comments
 (0)