Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ImranR98 authored Jan 14, 2024
1 parent be1a793 commit e8b9654
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
TAG="v$VERSION"
if [ $BETA == true ]; then TAG="$TAG"-beta; fi
echo "tag=$TAG" >> $GITHUB_OUTPUT
echo "$VERSION" "$TAG" "$BETA"
- name: Build APKs
run: |
Expand All @@ -60,18 +59,18 @@ jobs:
rm apksign.keystore
PGP_KEY_FINGERPRINT="${{ steps.import_pgp_key.outputs.fingerprint }}"
# - name: Create Tag
# uses: mathieudutour/github-tag-action@v6.1
# with:
# github_token: ${{ secrets.GH_ACCESS_TOKEN }}
# custom_tag: "${{ steps.extract_version.outputs.tag }}"
# tag_prefix: ""
- name: Create Tag
uses: mathieudutour/github-tag-action@v6.1
with:
github_token: ${{ secrets.GH_ACCESS_TOKEN }}
custom_tag: "${{ steps.extract_version.outputs.tag }}"
tag_prefix: ""

# - name: Create Release And Upload APKs
# uses: ncipollo/release-action@v1
# with:
# token: ${{ secrets.GH_ACCESS_TOKEN }}
# tag: "${{ steps.extract_version.outputs.tag }}"
# prerelease: "${{ steps.extract_version.outputs.beta }}"
# artifacts: ./build/app/outputs/flutter-apk/*-release*.apk*
# generateReleaseNotes: true
- name: Create Release And Upload APKs
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GH_ACCESS_TOKEN }}
tag: "${{ steps.extract_version.outputs.tag }}"
prerelease: "${{ steps.extract_version.outputs.beta }}"
artifacts: ./build/app/outputs/flutter-apk/*-release*.apk*
generateReleaseNotes: true

0 comments on commit e8b9654

Please sign in to comment.