Skip to content

Commit

Permalink
Update formatting on release yml (#1464)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrouR authored Jul 26, 2021
1 parent 08d4ce8 commit ae54580
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,16 @@ jobs:
script: |
const branch_name = process.env.GITHUB_REF
const web3j_release_version = branch_name.substring(branch_name.lastIndexOf('/') +1 ,branch_name.length )
process.env.VERSION = web3j_release_version
return web3j_release_version
outputs:
stripped_version: ${{ steps.release_name.outputs.result }}
- name: Build and stage release
run: ./gradlew publish -Pversion=${{ steps.release_name.outputs.result }}
- name: Release
run: ./gradlew closeAndReleaseRepository
- name: Javadoc release
run: ./gradlew -Dorg.ajoberstar.grgit.auth.username=${{ secrets.GITHUB_TOKEN }} core:gitPublishPush
outputs:
stripped_version: ${{ steps.release_name.outputs.result }}
git-release:
needs: release
runs-on: ubuntu-latest
Expand All @@ -99,4 +100,4 @@ jobs:
automatic_release_tag: 'v${{ needs.release.outputs.stripped_version }}'
prerelease: false
files: |
"web3j-"+${{ steps.release_name.outputs.result }}.*
"web3j-"+${{ steps.release_name.outputs.result }}.*

0 comments on commit ae54580

Please sign in to comment.