Skip to content

Commit

Permalink
release: clickstream Android 0.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoweii committed Jan 8, 2024
1 parent dddf92f commit 577c310
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 17 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
with:
java-version: '8'
distribution: 'corretto'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
with:
java-version: '8'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Generate test report
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ name: Integration Test
on:
pull_request:
branches: [ "main" ]
paths:
- '*.py'

jobs:
build:
if: ${{ startsWith(github.event.head_commit.message, 'release:') }}
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -28,6 +27,7 @@ jobs:
with:
java-version: '8'
distribution: 'corretto'
cache: gradle
- name: Build SDK release aar file
run: |
chmod +x gradlew
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
with:
java-version: '8'
distribution: 'corretto'
cache: gradle
- name: Config properties
run: |
echo "nexusUsername=${{ vars.NEXUS_USERNAME }}" >> key.properties
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/tag_and_release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Create Tag And Release
on:
push:
branches: [ "main" ]
branches: [ "*" ]

jobs:
release:
Expand All @@ -26,17 +26,17 @@ jobs:
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: Create GitHub release
uses: softprops/action-gh-release@v1
with:
name: "Clickstream Android $release_version"
files: |
clickstream/build/outputs/aar/clickstream-release.aar
tag_name: "v$release_version"
prerelease: true
generate_release_notes: true
# git push origin v$version
# - name: Assemble release
# run: |
# chmod +x gradlew
# ./gradlew assembleRelease
# - name: Create GitHub release
# uses: softprops/action-gh-release@v1
# with:
# name: "Clickstream Android $release_version"
# files: |
# clickstream/build/outputs/aar/clickstream-release.aar
# tag_name: "v$release_version"
# prerelease: true
# generate_release_notes: true

0 comments on commit 577c310

Please sign in to comment.