Skip to content

Commit

Permalink
update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jordond committed Sep 28, 2023
1 parent 8c4039f commit a95e4a0
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,17 @@ jobs:
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}

- name: Update README for ${{ env.RELEASE_VERSION }}
run: ./.github/version.sh "${RELEASE_VERSION}"
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch

- uses: EndBug/add-and-commit@v9
- name: Commit changes to README to ${{ env.branch }}
uses: EndBug/add-and-commit@v9
with:
add: './README.md'
message: 'Update README.md with version ${{env.RELEASE_VERSION}}'
add: "./README.md"
message: "Update README.md with version ${{env.RELEASE_VERSION}}"
new_branch: ${{ steps.extract_branch.outputs.branch }}

documentation:
name: "Generate Documentation"
Expand Down

0 comments on commit a95e4a0

Please sign in to comment.