Skip to content

Commit

Permalink
Fingers crossed
Browse files Browse the repository at this point in the history
  • Loading branch information
Amit Dhamu committed May 4, 2022
1 parent 70046e0 commit f25669a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,17 @@ jobs:
- name: Build
run: yarn build

- name: Create Pre-release
if: github.ref != 'refs/heads/main'
- name: Create Release
if: github.ref == 'refs/heads/main'
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
with:
tag_name: ${{ steps.env_vars.outputs.CURRENT_VERSION }}
release_name: ${{ steps.env_vars.outputs.CURRENT_VERSION }}
body: "**Full Changelog**: https://github.com/adhamu/arge/compare/${{ steps.env_vars.outputs.PUBLISHED_VERSION }}...${{ steps.env_vars.outputs.CURRENT_VERSION }}"
draft: true
prerelease: true
draft: false
prerelease: false

- name: Publish to Registry
run: |
Expand Down

0 comments on commit f25669a

Please sign in to comment.