-
Notifications
You must be signed in to change notification settings - Fork 548
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1699 from goplus/main
v1.2.0
- Loading branch information
Showing
25 changed files
with
1,753 additions
and
884 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 |
---|---|---|
|
@@ -49,14 +49,20 @@ jobs: | |
args: release --clean -p 4 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }} | ||
WINGET_PKGS_PRIVATE_KEY: ${{ secrets.WINGET_PKGS_PRIVATE_KEY }} | ||
|
||
- name: Upload deb/rpm to Fury.io | ||
run: | | ||
for file in dist/*.{deb,rpm} | ||
do | ||
echo "Uploading $file to Fury.io" | ||
curl -sS -F package=@$file https://[email protected]/goplus/ | ||
CODE=`curl --write-out '%{http_code}' --output /dev/null -sS -F package=@$file https://[email protected]/$GITHUB_REPOSITORY_OWNER/` | ||
if [ "$CODE" != "200" ]; then | ||
echo "Upload failed with code $CODE" | ||
exit 1 | ||
fi | ||
done | ||
env: | ||
FURY_TOKEN: ${{ secrets.FURY_TOKEN }} | ||
GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }} |
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 |
---|---|---|
|
@@ -96,7 +96,7 @@ winget: | |
license: Apache-2.0 | ||
skip_upload: false | ||
release_notes: "{{.Changelog}}" | ||
release_notes_url: "https://github.com/goplus/gop/releases/tag/v{{.Version}}" | ||
release_notes_url: "https://github.com/{{ .Env.GITHUB_REPOSITORY_OWNER }}/gop/releases/tag/v{{.Version}}" | ||
dependencies: | ||
- package_identifier: GoLang.Go | ||
minimum_version: 1.18.0 | ||
|
@@ -105,7 +105,7 @@ winget: | |
name: winget-pkgs | ||
branch: "{{.ProjectName}}-v{{.Version}}" | ||
git: | ||
url: "[email protected]:goplus/winget-pkgs.git" | ||
url: "[email protected]:{{ .Env.GITHUB_REPOSITORY_OWNER }}/winget-pkgs.git" | ||
private_key: "{{ .Env.WINGET_PKGS_PRIVATE_KEY }}" | ||
pull_request: | ||
enabled: true | ||
|
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
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
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
Oops, something went wrong.