Skip to content

Commit

Permalink
Commenting updating of authors until we can make it branch agnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
t3knomanzer committed Aug 27, 2020
1 parent a81f70c commit ec8e814
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,23 @@ jobs:
with:
fetch-depth: 0

- name: Extract branch name
id: get_branch
run: echo ::set-output name=BRANCH::${GITHUB_REF#refs/heads/}
shell: bash

- name: Get tag version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
shell: bash

- name: Update AUTHORS
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
# - name: Update AUTHORS
# run: |
# git config --local user.email "[email protected]"
# git config --local user.name "GitHub Action"

git shortlog -se -n --all --no-merges > AUTHORS
# git shortlog -se -n --all --no-merges > AUTHORS

git add AUTHORS
git commit -m "Updating authors"
git push origin HEAD:${{ steps.get_branch.outputs.BRANCH }}
exit 0
shell: bash
# git add AUTHORS
# git commit -m "Updating authors"
# git push origin HEAD:${{ steps.get_branch.outputs.BRANCH }}
# exit 0
# shell: bash

- name: Setup NuGet.exe
uses: NuGet/[email protected]
Expand Down

0 comments on commit ec8e814

Please sign in to comment.