-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commenting updating of authors until we can make it branch agnostic
- Loading branch information
1 parent
a81f70c
commit ec8e814
Showing
1 changed file
with
10 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|