-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Disable goreleaser releases and upload all artifacts manually."
Signed-off-by: Lukas Kämmerling <[email protected]>
- Loading branch information
1 parent
d4cb5fb
commit 5fa7cdb
Showing
2 changed files
with
6 additions
and
130 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 |
---|---|---|
|
@@ -38,131 +38,3 @@ jobs: | |
HC_APPLE_DEVELOPER_USER: ${{ secrets.HC_APPLE_DEVELOPER_USER }} | ||
HC_APPLE_DEVELOPER_PASSWORD: ${{ secrets.HC_APPLE_DEVELOPER_PASSWORD }} | ||
HC_APPLE_IDENTITY: ${{ secrets.HC_APPLE_IDENTITY }} | ||
|
||
- name: Create Release | ||
id: create_release | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: hcloud ${{ github.ref }} | ||
draft: true | ||
prerelease: false | ||
- name: Upload Changelog File | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist/CHANGELOG.md | ||
asset_name: CHANGELOG.md | ||
asset_content_type: text/plain | ||
- name: Upload Checksums File | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist/cli_${{ github.ref }}_checksums.txt | ||
asset_name: cli_${{ github.ref }}_checksums.txt | ||
asset_content_type: text/plain | ||
- name: Upload FreeBSD amd64 | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist/hcloud-freebsd-amd64.tar.gz | ||
asset_name: hcloud-freebsd-amd64.tar.gz | ||
asset_content_type: application/gzip | ||
- name: Upload FreeBSD 386 | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist/hcloud-freebsd-386.tar.gz | ||
asset_name: hcloud-freebsd-386.tar.gz | ||
asset_content_type: application/gzip | ||
- name: Upload FreeBSD armv6 | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist/hcloud-freebsd-armv6.tar.gz | ||
asset_name: hcloud-freebsd-armv6.tar.gz | ||
asset_content_type: application/gzip | ||
- name: Upload FreeBSD armv7 | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist/hcloud-freebsd-armv7.tar.gz | ||
asset_name: hcloud-freebsd-armv7.tar.gz | ||
asset_content_type: application/gzip | ||
- name: Upload Linux 386 | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist/hcloud-linux-386.tar.gz | ||
asset_name: hcloud-linux-386.tar.gz | ||
asset_content_type: application/gzip | ||
- name: Upload Linux amd64 | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist/hcloud-linux-amd64.tar.gz | ||
asset_name: hcloud-linux-amd64.tar.gz | ||
asset_content_type: application/gzip | ||
- name: Upload Linux armv6 | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist/hcloud-linux-armv6.tar.gz | ||
asset_name: hcloud-linux-armv6.tar.gz | ||
asset_content_type: application/gzip | ||
- name: Upload Linux armv7 | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist/hcloud-linux-armv7.tar.gz | ||
asset_name: hcloud-linux-armv7.tar.gz | ||
asset_content_type: application/gzip | ||
- name: Upload Windows amd64 | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist/hcloud-windows-amd64.zip | ||
asset_name: hcloud-windows-amd64.zip | ||
asset_content_type: application/zip | ||
- name: Upload Windows 386 | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist/hcloud-windows-386.zip | ||
asset_name: hcloud-windows-386.zip | ||
asset_content_type: application/zip | ||
- name: Upload MacOS amd64 | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist/hcloud-macos-amd64.zip | ||
asset_name: hcloud-macos-amd64.zip | ||
asset_content_type: application/zip |
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 |
---|---|---|
|
@@ -35,10 +35,13 @@ before: | |
hooks: | ||
- go mod tidy | ||
|
||
checksum: | ||
name_template: "checksums.txt" | ||
algorithm: sha256 | ||
|
||
release: | ||
draft: true | ||
name_template: "hcloud v{{.Version}}" | ||
disable: true | ||
|
||
signs: | ||
- ids: | ||
|
@@ -48,10 +51,11 @@ signs: | |
- -log-json | ||
- gon.hcl | ||
artifacts: all | ||
signature: "hcloud-macos-amd64.zip" | ||
- artifacts: all | ||
signature: "${artifact}.sig" | ||
ids: | ||
- hcloud-build | ||
- hcloud-macos-build | ||
args: ["--batch", "-u", "[email protected]", "--pinentry-mode", "loopback", "--output", "${signature}", "--detach-sign", "${artifact}"] | ||
|
||
archives: | ||
|