"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file ".github/workflows/releases.yml" between
gh-cli-1.11.0.tar.gz and gh-cli-1.12.0.tar.gz

About: GitHub CLI is GitHub’s official command line tool.

releases.yml  (gh-cli-1.11.0):releases.yml  (gh-cli-1.12.0)
skipping to change at line 26 skipping to change at line 26
with: with:
go-version: 1.15 go-version: 1.15
- name: Generate changelog - name: Generate changelog
run: | run: |
echo "GORELEASER_CURRENT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV echo "GORELEASER_CURRENT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
git fetch --unshallow git fetch --unshallow
script/changelog | tee CHANGELOG.md script/changelog | tee CHANGELOG.md
- name: Run GoReleaser - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2 uses: goreleaser/goreleaser-action@v2
with: with:
version: latest version: v0.169.0 # pinning bc our config breaks on latest
args: release --release-notes=CHANGELOG.md args: release --release-notes=CHANGELOG.md
env: env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Checkout documentation site - name: Checkout documentation site
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
repository: github/cli.github.com repository: github/cli.github.com
path: site path: site
fetch-depth: 0 fetch-depth: 0
token: ${{secrets.SITE_GITHUB_TOKEN}} token: ${{secrets.SITE_GITHUB_TOKEN}}
skipping to change at line 200 skipping to change at line 200
git -C ./scoop-gh show -m git -C ./scoop-gh show -m
else else
git -C ./scoop-gh push git -C ./scoop-gh push
fi fi
env: env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GIT_COMMITTER_NAME: cli automation GIT_COMMITTER_NAME: cli automation
GIT_AUTHOR_NAME: cli automation GIT_AUTHOR_NAME: cli automation
GIT_COMMITTER_EMAIL: noreply@github.com GIT_COMMITTER_EMAIL: noreply@github.com
GIT_AUTHOR_EMAIL: noreply@github.com GIT_AUTHOR_EMAIL: noreply@github.com
- name: Bump Winget manifest
shell: pwsh
env:
WINGETCREATE_VERSION: v0.2.0.29-preview
GITHUB_TOKEN: ${{ secrets.UPLOAD_GITHUB_TOKEN }}
run: |
$tagname = $env:GITHUB_REF.Replace("refs/tags/", "")
$version = $tagname.Replace("v", "")
$url = "https://github.com/cli/cli/releases/download/${tagname}/gh_${v
ersion}_windows_amd64.msi"
iwr https://github.com/microsoft/winget-create/releases/download/${env
:WINGETCREATE_VERSION}/wingetcreate.exe -OutFile wingetcreate.exe
.\wingetcreate.exe update GitHub.cli --url $url --version $version
if ($version -notmatch "-") {
.\wingetcreate.exe submit .\manifests\g\GitHub\cli\${version}\ --tok
en $env:GITHUB_TOKEN
}
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)