Skip to content

Commit

Permalink
release: clickstream Android 0.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoweii committed Jan 8, 2024
1 parent 920b7e4 commit bb85468
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,23 @@ jobs:
run: |
echo "${{ env.COMMIT_MESSAGE }}"
version=$(echo "${{ env.COMMIT_MESSAGE }}" | grep -oP 'Android \K\d+\.\d+\.\d+')
echo "release_version=$version" >> "$GITHUB_ENV"
echo $version
echo v$version
# git config user.name '${{ vars.USER_NAME }}'
# git config user.email '${{ vars.USER_EMAIL }}'
git config user.name '${{ vars.USER_NAME }}'
git config user.email '${{ vars.USER_EMAIL }}'
# git tag v$version
# git push origin v$version
# - name: Assemble release
# run: |
# chmod +x gradlew
# ./gradlew assembleRelease
- name: Assemble release
run: |
echo v$release_version
chmod +x gradlew
./gradlew assembleRelease
# - name: Create GitHub release
# uses: softprops/action-gh-release@v1
# with:
# name: "Clickstream Android ${{ env.NEW_VERSION }}"
# name: "Clickstream Android $release_version"
# files: |
# clickstream/build/outputs/aar/clickstream-release.aar
# tag_name: "v${{ env.NEW_VERSION }}"
# tag_name: "v$release_version"
# prerelease: true
# generate_release_notes: true

0 comments on commit bb85468

Please sign in to comment.