Skip to content

Commit

Permalink
Remove un-draft/pre-release step in release
Browse files Browse the repository at this point in the history
- This was making two releases instead of marking the existing release as no longer a draft or a pre-release. 

[#185699317]
  • Loading branch information
bencalegari committed Aug 1, 2023
1 parent a6faed6 commit e0cfb61
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,6 @@ jobs:
ref: main
fetch-depth: 0
token: ${{ secrets.PLATFORM_ROBOT_PAT }}
- name: Publish GitHub Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{inputs.version}}
draft: false
prerelease: false
- name: Create new snapshot version string
run: echo NEW_SNAPSHOT_VERSION=$(echo ${{ inputs.version }} | awk -F. 'BEGIN{OFS="."} {$NF = $NF +1"-SNAPSHOT"}1') >> "$GITHUB_ENV"
- name: Update snapshot version
Expand Down

0 comments on commit e0cfb61

Please sign in to comment.