Skip to content

Commit

Permalink
git: set tag name for snapshot releases
Browse files Browse the repository at this point in the history
  • Loading branch information
MSOB7YY committed May 15, 2024
1 parent 3b4e4a4 commit 6859f03
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,17 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Extract version from pubspec.yaml
id: extract_version
run: |
VERSION=$(grep -o 'version:.*' pubspec.yaml | awk '{print $2}')
echo ::set-output name=version::"$VERSION"
- name: Creating Snapshot Release at namida-snapshots
uses: softprops/action-gh-release@v2
with:
repository: namidaco/namida-snapshots
tag_name: ${{ steps.extract_version.outputs.version}}
body: ${{ steps.generate_changelog.outputs.changelog }}
files: |
build/app/outputs/flutter-apk/app-arm64-v8a-release.apk
Expand Down

0 comments on commit 6859f03

Please sign in to comment.