Skip to content

Commit

Permalink
Merge branch 'main' into ci/update-version-action-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
nattb8 authored Feb 7, 2025
2 parents b2cddd6 + 12842b2 commit 6dc66fd
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,19 @@
name: 'Create Release'

on:
workflow_dispatch:
workflow_run:
workflows: ["Tag Release"]
types:
- completed

jobs:
release:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Get the latest tag
run: |
git fetch --tags
LATEST_TAG="$(git describe --tags "$(git rev-list --tags --max-count=1)")"
echo "LATEST_TAG=${LATEST_TAG}" >> "$GITHUB_ENV"
- name: Extract TS SDK version from index.js
id: extract_ts_sdk_version
run: |
Expand Down Expand Up @@ -58,7 +52,7 @@ jobs:
- name: Create Release
uses: mikepenz/[email protected]
with:
tag_name: ${{ env.LATEST_TAG }}
tag_name: ${{ env.VERSION }}
body: |
${{steps.github_release.outputs.changelog}}
Expand Down

0 comments on commit 6dc66fd

Please sign in to comment.