Skip to content

Commit

Permalink
test dry run of release
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronvoell committed Nov 22, 2024
1 parent f75764f commit 937854e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release XMTP Android Package
on:
push:
branches:
- release
- cv/0.14.1-patch-libxmtp-update-c446f94

jobs:
library:
Expand All @@ -26,14 +26,16 @@ jobs:
id: tag_version
uses: mathieudutour/[email protected]
with:
release_branches: "release"
custom_tag: "0.14.1-patch"
github_token: ${{ secrets.GITHUB_TOKEN }}
dry_run: true
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_version }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
dryRun: true
- name: Gradle Publish
env:
RELEASE_VERSION: ${{ steps.tag_version.outputs.new_version }}
Expand All @@ -42,4 +44,4 @@ jobs:
SIGN_KEY: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
SIGN_PASSWORD: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
MAVEN_PROFILE_ID: ${{ secrets.MAVEN_PROFILE_ID }}
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
run: ./gradlew publishToSonatype --dry-run

0 comments on commit 937854e

Please sign in to comment.