Skip to content

Commit

Permalink
fix refname
Browse files Browse the repository at this point in the history
  • Loading branch information
dmolik committed Aug 27, 2024
1 parent c168a1e commit 0f25505
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ jobs:
if: github.event_name == 'push' && github.ref_type == 'tag'
steps:
- run: |
gh release create ${{ github.ref }} --title "Release ${{ github.ref }}" --generate-notes
gh release create ${{ github.ref_name }} --title "Release ${{ github.ref_name }}" --generate-notes
env:
GH_TOKEN: ${{ github.token }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
go-version: 1.22
check-latest: true
- name: Build Installer
run: make build-installer IMG=ghcr.io/hyperspike/valkey-operator:${{ github.ref }}
run: make build-installer IMG=ghcr.io/hyperspike/valkey-operator:${{ github.ref_name }}
- name: Upload dist/install.yaml to release
uses: svenstaro/upload-release-action@v2
with:
Expand Down

0 comments on commit 0f25505

Please sign in to comment.