Skip to content

Commit

Permalink
chore: Update prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdip-b committed Jan 23, 2025
1 parent 8bfbaf2 commit 54e7c3e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
outputs:
environment: ${{ github.ref == 'refs/heads/main' && 'alpha' || 'stage' }}
latestTag: ${{ github.ref == 'refs/heads/main' && 'latest' || 'experimental' }}
version: ${{ steps.release.outputs.new_release_version }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -43,6 +42,11 @@ jobs:
JWT_SECRET: secret
run: pnpm dlx semantic-release

- name: Set version to github env
run: |
echo "New Version: ${{ steps.release.outputs.version }}"
echo "::set-output name=version::${{ steps.release.outputs.version }}"
deploy-api:
needs: release
runs-on: ubuntu-latest
Expand Down Expand Up @@ -394,7 +398,7 @@ jobs:

sentry-release-cli:
name: Sentry CLI
needs: release
needs: [release, publish-cli]
runs-on: ubuntu-latest
steps:
- name: checkout
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"release": {
"branches": [
"main",
"develop",
{
"name": "develop",
"prerelease": "stage"
},
{
"name": "stage",
"prerelease": true
Expand Down

0 comments on commit 54e7c3e

Please sign in to comment.