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:
5555 - name : Install dotnet-script
5656 run : dotnet tool install release-notes --tool-path dotnet-tool
5757
58+ - name : Set repository name environment variable
59+ run : echo "repository_name=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
60+
5861 - name : Find versions for branch
5962 id : versions
6063 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)
6265 echo "::set-output name=current::$(echo ${lines[0]})"
6366 echo "::set-output name=next::$(echo ${lines[1]})"
6467 echo ${lines[@]}
6568
6669 - name : Generate release notes
6770 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
6972 rm dotnet-tool/release-notes
7073 git status
7174 - name : " PR ${{ matrix.branch }}"
Original file line number Diff line number Diff line change @@ -82,6 +82,8 @@ launchSettings.json
8282project.lock.json
8383.vs
8484.vs /*
85+ .ionide
86+ .ionide /*
8587
8688.idea /
8789* .sln.iml
You can’t perform that action at this time.
0 commit comments