Skip to content

Commit

Permalink
Release/4.8.4 (#1349)
Browse files Browse the repository at this point in the history
* Fix publish version

* Fix missing substring function

* Fix missing substring function for release name using JS action
  • Loading branch information
xaviarias authored Jan 23, 2021
1 parent 2baba4c commit 16cbda0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,17 @@ jobs:
run: chmod +x gradlew
- name: Decrypt secret key
run: openssl aes-256-cbc -K ${{ secrets.GPG_KEY }} -iv ${{ secrets.GPG_IV }} -in web3j.asc.enc -out web3j.asc -d
- name: Release name
id: release_name
uses: web3j/[email protected]
with:
value: ${GITHUB_REF}
start: '8' # Remove 'release/' prefix
- name: Build and stage release
run: ./gradlew publish bintrayUpload -Pversion=${{ GITHUB_REF#'release/' }}
run: ./gradlew publish bintrayUpload -Pversion=${{ steps.release_name.outputs.result }}
- name: Release
run: ./gradlew closeAndReleaseRepository
- name: GitHub release
run: ./scripts/github-release.sh
- name: Javadoc release
run: ./gradlew -Dorg.ajoberstar.grgit.auth.username=${{ GITHUB_TOKEN }} core:gitPublishPush
run: ./gradlew -Dorg.ajoberstar.grgit.auth.username=${{ secrets.GITHUB_TOKEN }} core:gitPublishPush

0 comments on commit 16cbda0

Please sign in to comment.