Skip to content

Commit

Permalink
Fix versioning by striping out refs/tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelizia committed Sep 15, 2021
1 parent 9d06eb3 commit 23115aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: ./scripts/docker-build.sh $GITHUB_SHA

- name: Log docker images
run: ./scripts/docker-push.sh $GITHUB_SHA ${{ github.ref }}
run: ./scripts/docker-push.sh $GITHUB_SHA ${GITHUB_REF#refs/tags/}

go-list:
name: Create go package
Expand All @@ -35,4 +35,4 @@ jobs:
- uses: actions/checkout@v2

- name: List go package
run: ./scripts/go-list.sh ${{ github.ref }}
run: ./scripts/go-list.sh ${GITHUB_REF#refs/tags/}
2 changes: 1 addition & 1 deletion scripts/go-list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
VERSION=$1

go mod tidy
GOPROXY=proxy.golang.org go list -m github.com/ddelizia/hasura-saas@${VERSION#v}
GOPROXY=proxy.golang.org go list -m github.com/ddelizia/hasura-saas@$VERSION

0 comments on commit 23115aa

Please sign in to comment.