Skip to content

Commit

Permalink
One more try
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalocasas committed Sep 27, 2024
1 parent cbc7a98 commit 3331615
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,19 @@ jobs:
- name: Fetch all tags
run: git fetch --tags
- name: Check for tags
id: check_version_tag
run: |
TAGS=$(git tag --points-at HEAD)
if [[ "$TAGS" == *v* ]]; then
echo "Version tag found! Building new release: $TAGS"
echo "::set-output name=version_tag_exists::true"
else
echo "No version tag found. Skipping workflow."
exit 0
echo "::set-output name=version_tag_exists::false"
fi
- uses: compas-dev/compas-actions.build@v3
if: steps.check_version_tag.outputs.version_tag_exists == 'true'
with:
python: ${{ matrix.python }}
invoke_lint: true
Expand Down

0 comments on commit 3331615

Please sign in to comment.