Skip to content

Commit

Permalink
Using ref_name
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis-chambers committed May 30, 2024
1 parent fd67a0a commit 87cd7bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
git fetch --unshallow origin +refs/heads/${{github.base_ref}}:refs/remotes/origin/${{github.base_ref}}
git fetch --unshallow origin +refs/heads/${{ github.ref_name }}:refs/remotes/origin/${{ github.ref_name }}
git describe --long
tag=$(python -c "import iotdevicesimulator; print(iotdevicesimulator.__version__)")
echo $tag
Expand Down

0 comments on commit 87cd7bf

Please sign in to comment.