Skip to content

Commit

Permalink
ci: sticking to the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile committed Sep 24, 2024
1 parent 246f9b6 commit c8e29c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ jobs:
run: |
# Fetch tag manually because fetch-tags option for checkout@v4 does not work
git fetch --force --tags --depth 500
echo "MAJOR_VERSION=$(git describe | cut -d'-' -f1)" >> $GITHUB_ENV
echo "MAJOR_VERSION=$(git describe | cut -d'-' -f1)" >> "$GITHUB_ENV"
- name: Check for MAJOR_VERSION
shell: sh
run: |
# This check is here because setting the $GITHUB_ENV variable is not immediate propagated to the next line
if [ -z "$MAJOR_VERSION" ]; then
Expand Down

0 comments on commit c8e29c1

Please sign in to comment.