Skip to content

Commit

Permalink
Add PackageCloud upload to GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
royroyee committed Dec 22, 2023
1 parent 8c4d813 commit b40bdb7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,22 @@ jobs:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}

- name: Upload AMD64 DEB to PackageCloud
uses: danielmundi/upload-packagecloud@v1
with:
PACKAGE-NAME: dist/*.amd64.deb
PACKAGECLOUD-USERNAME: alpacanetworks
PACKAGECLOUD-REPO: alpacon
PACKAGECLOUD-DISTRIB: debian/amd64
PACKAGECLOUD-TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}

- name: Upload AMD64 RPM to PackageCloud
uses: danielmundi/upload-packagecloud@v1
with:
PACKAGE-NAME: dist/*.amd64.rpm
PACKAGECLOUD-USERNAME: alpacanetworks
PACKAGECLOUD-REPO: alpacon
PACKAGECLOUD-DISTRIB: el/7
PACKAGECLOUD-TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/spf13/cobra"
)

var VersionCli = "v0.0.2"
var VersionCli = "v0.0.3"

var versionCmd = &cobra.Command{
Use: "version",
Expand Down

0 comments on commit b40bdb7

Please sign in to comment.