Skip to content

Commit

Permalink
use ref name for version
Browse files Browse the repository at this point in the history
  • Loading branch information
aweris committed Aug 4, 2023
1 parent 70e981d commit 61cb44d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Publish artifact-service
run: ./hack/mage tools:ghx:publish main
run: ./hack/mage tools:ghx:publish ${{ github.ref_name }}

artifact-service:
runs-on: ubuntu-latest
Expand All @@ -48,4 +48,4 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Publish artifact-service
run: ./hack/mage services:artifact:publish main
run: ./hack/mage services:artifact:publish ${{ github.ref_name }}
4 changes: 2 additions & 2 deletions .github/workflows/release-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Publish artifact-service
run: ./hack/mage tools:ghx:publish ${{ github.ref }}
run: ./hack/mage tools:ghx:publish ${{ github.ref_name }}

artifact-service:
runs-on: ubuntu-latest
Expand All @@ -67,4 +67,4 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Publish artifact-service
run: ./hack/mage services:artifact:publish ${{ github.ref }}
run: ./hack/mage services:artifact:publish ${{ github.ref_name }}

0 comments on commit 61cb44d

Please sign in to comment.