Skip to content

Commit

Permalink
chore: echo version to debug github action
Browse files Browse the repository at this point in the history
  • Loading branch information
npazosmendez committed Sep 30, 2024
1 parent 2cf8da2 commit 8b62961
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
docker save -o build/carbon-relay-ng.tar grafana/carbon-relay-ng
- name: Store version
run: git describe --tags --always | sed 's/^v//' > build/version.txt
- run: echo build/version.txt
- name: Upload package artifacts
if: github.event_name == 'push'
uses: actions/upload-artifact@v4
Expand All @@ -65,7 +66,7 @@ jobs:
deploy:
needs: build
runs-on: ubuntu-latest
if: github.event_name == 'push'
if: github.event_name == 'push' && github.ref_type == 'tag'
steps:
- uses: actions/checkout@v3
- name: Download package artifacts
Expand Down

0 comments on commit 8b62961

Please sign in to comment.