Skip to content

Commit

Permalink
Restore original settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ps-jay authored May 24, 2024
1 parent 279a427 commit 190dc28
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
run: bats bats/xfs.bats

release:
if: ${{ github.ref_name == github.event.repository.default_branch }} # Only release from the default branch
runs-on: ubuntu-latest
name: Release 🚀
needs:
Expand Down Expand Up @@ -100,10 +101,17 @@ jobs:
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.version.outputs.v-version }}
prerelease: true
draft: true
prerelease: false
draft: false
token: ${{ secrets.GITHUB_TOKEN }}
generate_release_notes: true
files: |
ebs-bootstrap-linux-*
- id: push-short-tag
name: Create release short tag 🏷
uses: richardsimko/update-tag@v1.0.11
with:
tag_name: ${{ steps.version.outputs.major-v-version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 190dc28

Please sign in to comment.