Skip to content

Commit

Permalink
ci fix;
Browse files Browse the repository at this point in the history
  • Loading branch information
iSplasher committed Jan 4, 2024
1 parent 6d8ba9f commit f8643ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 90 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ jobs:
- name: Read previous tag
run: |
echo "PREVIOUS_TAGNAME=$(git describe --tags --abbrev=0 --match='${{ env.PLUGIN_ID }}-v*' HEAD^)" >> $GITHUB_ENV
if git describe --tags --match='${{ env.PLUGIN_ID }}-v*' HEAD^ >/dev/null 2>&1; then
echo "PREVIOUS_TAGNAME=$(git describe --tags --abbrev=0 --match='${{ env.PLUGIN_ID }}-v*' HEAD^)" >> $GITHUB_ENV
else
echo "PREVIOUS_TAGNAME='' >> $GITHUB_ENV
fi
- name: ENV variables
run: |
Expand Down
89 changes: 0 additions & 89 deletions scripts/ci-release.js

This file was deleted.

0 comments on commit f8643ca

Please sign in to comment.