Skip to content

Commit

Permalink
Delete previous pre release and its tab, before working out the new v…
Browse files Browse the repository at this point in the history
…ersion.

Change-Id: Ic5f5ef4f128d0ffaacf01b150299d403350c9bce
  • Loading branch information
mtlljm committed Nov 3, 2023
1 parent 32d92ac commit f1ce105
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ jobs:
with:
node-version: 16.14.0

- name: Clean pre releases
uses: dev-drprasad/[email protected]
if: ${{ !inputs.release }}
with:
keep_latest: 0
delete_tags: true
delete_prerelease_only: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get current version
id: current_version
uses: mathieudutour/[email protected]
Expand Down Expand Up @@ -56,16 +66,6 @@ jobs:
path: ./sasesp-plugin*.zip
retention-days: 14

- name: Clean pre releases
uses: dev-drprasad/[email protected]
if: ${{ !inputs.release }}
with:
keep_latest: 0
delete_tags: true
delete_prerelease_only: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Bump version and push tag
if: ${{ !inputs.release }}
id: release_version
Expand Down

0 comments on commit f1ce105

Please sign in to comment.