Skip to content

Commit

Permalink
[np] Release workflow ⚓
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyx committed Nov 29, 2021
1 parent d69d09e commit 77ffabe
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 @@ -47,7 +47,7 @@ jobs:
CURRENT_TAG: ${{ steps.getTag.outputs.releaseTag }}
run: |
git fetch --depth 50 origin main
[ -n "$(git rev-list --first-parent --ancestry-path "$c^..origin/main")" ] || {
[ -n "$(git rev-list --first-parent --ancestry-path "$CURRENT_TAG^..origin/main")" ] || {
echo "Tag is not reachable from main (--first-parent) !" >&2
exit 1
}
Expand Down

0 comments on commit 77ffabe

Please sign in to comment.