Skip to content
Snippets Groups Projects
Unverified Commit e838f1df authored by David Schmitt's avatar David Schmitt Committed by GitHub
Browse files

Merge pull request #409 from pmcmaw/maint/main/update_values_in_release_workflow

(maint) Updating version and owner in release workflow
parents b1994eea 2f005bc3
No related branches found
No related tags found
No related merge requests found
...@@ -52,12 +52,12 @@ jobs: ...@@ -52,12 +52,12 @@ jobs:
if: ${{ github.repository_owner == '<%= common['owner'] %>' }} if: ${{ github.repository_owner == '<%= common['owner'] %>' }}
id: gv id: gv
run: | run: |
echo "::set-output name=ver::$(cat metadata.json | jq .version | tr -d \")" echo "::set-output name=ver::$(jq --raw-output .version metadata.json)"
- name: "Commit changes" - name: "Commit changes"
if: ${{ github.repository_owner == '<%= common['owner'] %>' }} if: ${{ github.repository_owner == '<%= common['owner'] %>' }}
run: | run: |
git config --local user.email "action@github.com" git config --local user.email "${{ github.repository_owner }}@users.noreply.github.com"
git config --local user.name "GitHub Action" git config --local user.name "GitHub Action"
git add . git add .
git commit -m "Release prep v${{ steps.gv.outputs.ver }}" git commit -m "Release prep v${{ steps.gv.outputs.ver }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment