File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -55,17 +55,20 @@ jobs:
55
55
- name : Install dotnet-script
56
56
run : dotnet tool install release-notes --tool-path dotnet-tool
57
57
58
+ - name : Set repository name environment variable
59
+ run : echo "repository_name=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
60
+
58
61
- name : Find versions for branch
59
62
id : versions
60
63
run : |
61
- readarray -t lines < <(dotnet-tool/release-notes "${{ github.event.organization.login }}" "${{ github.event.repository.name }}" current-version --query "${{ matrix.branch }}" --version 0.0.1 --token ${{ secrets.GITHUB_TOKEN }} --releasetagformat VERSION)
64
+ readarray -t lines < <(dotnet-tool/release-notes "${{ github.repository_owner }}" "${{ env.repository_name }}" current-version --query "${{ matrix.branch }}" --version 0.0.1 --token ${{ secrets.GITHUB_TOKEN }} --releasetagformat VERSION)
62
65
echo "::set-output name=current::$(echo ${lines[0]})"
63
66
echo "::set-output name=next::$(echo ${lines[1]})"
64
67
echo ${lines[@]}
65
68
66
69
- name : Generate release notes
67
70
run : |
68
- dotnet-tool/release-notes "${{ github.event.organization.login }}" "${{ github.event.repository.name }}" --version ${{ steps.versions.outputs.next }} --token ${{ secrets.GITHUB_TOKEN }} --format asciidoc --output docs/release-notes
71
+ dotnet-tool/release-notes "${{ github.repository_owner }}" "${{ env.repository_name }}" --version ${{ steps.versions.outputs.next }} --token ${{ secrets.GITHUB_TOKEN }} --format asciidoc --output docs/release-notes
69
72
rm dotnet-tool/release-notes
70
73
git status
71
74
- name : " PR ${{ matrix.branch }}"
Original file line number Diff line number Diff line change @@ -82,6 +82,8 @@ launchSettings.json
82
82
project.lock.json
83
83
.vs
84
84
.vs /*
85
+ .ionide
86
+ .ionide /*
85
87
86
88
.idea /
87
89
* .sln.iml
You can’t perform that action at this time.
0 commit comments