-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete previous pre release and its tab, before working out the new v…
…ersion. Change-Id: Ic5f5ef4f128d0ffaacf01b150299d403350c9bce
- Loading branch information
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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 | ||
|