diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 902ceeb..e4f9cc9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -107,21 +107,17 @@ jobs: - name: Create Release id: create-github-release - uses: shogo82148/actions-create-release@v1 + uses: softprops/action-gh-release@v1 with: tag_name: ${{ github.ref_name }} - release_name: ${{ github.ref_name }} + name: ${{ github.ref_name }} + # body: | + # See the file: CHANGELOG.md draft: false prerelease: false - - - name: Upload Release Assets - id: upload-release-assets - uses: shogo82148/actions-upload-release-asset@v1 - with: - upload_url: ${{ steps.create-github-release.outputs.upload_url }} - asset_path: dist/assets/** - overwrite: true - github_token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} + files: | + dist/assets/** container_image: name: Create and Publish Container Image diff --git a/Makefile b/Makefile index 3661122..4f8a7f8 100644 --- a/Makefile +++ b/Makefile @@ -186,7 +186,7 @@ build-dist: ## Build the application for all platforms defined in GO_OS and GO_A ##@ build-dist-zip .PHONY: build-dist-zip -build-dist-zip: build-dist ## Build the application for all platforms defined in GO_OS and GO_ARCH in this Makefile and create a zip file for each binary +build-dist-zip: ## Build the application for all platforms defined in GO_OS and GO_ARCH in this Makefile and create a zip file for each binary @printf "👉 Creating zip files for distribution...\n" $(call exec_cmd, mkdir -p $(DIST_ASSEST_DIR)) $(foreach GOOS, $(GO_OS), \