From ae8193a2dd4f3b19700c16901997597bbf9fbf67 Mon Sep 17 00:00:00 2001 From: royroyee Date: Fri, 22 Dec 2023 17:48:06 +0900 Subject: [PATCH] Unset packagecloud deploy --- .github/workflows/release.yml | 86 +++++++++++++++++------------------ .goreleaser.yaml | 2 +- 2 files changed, 44 insertions(+), 44 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 68153ee..487ced1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,46 +43,46 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }} - - name: Upload AMD64 DEB artifacts - uses: actions/upload-artifact@v3 - with: - name: alpacon_${{ github.ref_name }}_linux_amd64.deb - path: dist/alpacon_${{ github.ref_name }}_linux_amd64.deb - - - name: Upload AMD64 RPM artifacts - uses: actions/upload-artifact@v3 - with: - name: alpacon_${{ github.ref_name }}_linux_amd64.rpm - path: dist/alpacon_${{ github.ref_name }}_linux_amd64.rpm - - packagecloud-deploy: - needs: goreleaser - runs-on: ubuntu-latest - steps: - - name: Download AMD64 DEB Artifacts - uses: actions/download-artifact@v3 - with: - name: alpacon_${{ github.ref_name }}_linux_amd64.deb - - - name: Download AMD64 RPM Artifacts - uses: actions/download-artifact@v3 - with: - name: alpacon_${{ github.ref_name }}_linux_amd64.rpm - - - name: Upload AMD64 DEB to PackageCloud - uses: danielmundi/upload-packagecloud@v1 - with: - PACKAGE-NAME: alpacon_${{ github.ref_name }}_linux_amd64.deb - PACKAGECLOUD-USERNAME: alpacanetworks - PACKAGECLOUD-REPO: alpacon - PACKAGECLOUD-DISTRIB: any/any - PACKAGECLOUD-TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }} - - - name: Upload AMD64 RPM to PackageCloud - uses: danielmundi/upload-packagecloud@v1 - with: - PACKAGE-NAME: alpacon_${{ github.ref_name }}_linux_amd64.rpm - PACKAGECLOUD-USERNAME: alpacanetworks - PACKAGECLOUD-REPO: alpacon - PACKAGECLOUD-DISTRIB: any/any - PACKAGECLOUD-TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }} \ No newline at end of file +# - name: Upload AMD64 DEB artifacts +# uses: actions/upload-artifact@v3 +# with: +# name: alpacon_${{ github.ref_name }}_linux_amd64.deb +# path: dist/alpacon_${{ github.ref_name }}_linux_amd64.deb +# +# - name: Upload AMD64 RPM artifacts +# uses: actions/upload-artifact@v3 +# with: +# name: alpacon_${{ github.ref_name }}_linux_amd64.rpm +# path: dist/alpacon_${{ github.ref_name }}_linux_amd64.rpm +# +# packagecloud-deploy: +# needs: goreleaser +# runs-on: ubuntu-latest +# steps: +# - name: Download AMD64 DEB Artifacts +# uses: actions/download-artifact@v3 +# with: +# name: alpacon_${{ github.ref_name }}_linux_amd64.deb +# +# - name: Download AMD64 RPM Artifacts +# uses: actions/download-artifact@v3 +# with: +# name: alpacon_${{ github.ref_name }}_linux_amd64.rpm +# +# - name: Upload AMD64 DEB to PackageCloud +# uses: danielmundi/upload-packagecloud@v1 +# with: +# PACKAGE-NAME: alpacon_${{ github.ref_name }}_linux_amd64.deb +# PACKAGECLOUD-USERNAME: alpacanetworks +# PACKAGECLOUD-REPO: alpacon +# PACKAGECLOUD-DISTRIB: any/any +# PACKAGECLOUD-TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }} +# +# - name: Upload AMD64 RPM to PackageCloud +# uses: danielmundi/upload-packagecloud@v1 +# with: +# PACKAGE-NAME: alpacon_${{ github.ref_name }}_linux_amd64.rpm +# PACKAGECLOUD-USERNAME: alpacanetworks +# PACKAGECLOUD-REPO: alpacon +# PACKAGECLOUD-DISTRIB: any/any +# PACKAGECLOUD-TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }} \ No newline at end of file diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 26dfd48..c83c023 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -27,7 +27,7 @@ checksum: name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.sha256" archives: - - name_template: "{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}" + - name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}" format_overrides: - goos: windows format: zip