Skip to content

Commit 03c001b

Browse files
authored
Merge pull request #142 from slashdevops/fix-release
fix: create release action
2 parents 01aa5da + a84c497 commit 03c001b

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -107,21 +107,17 @@ jobs:
107107
108108
- name: Create Release
109109
id: create-github-release
110-
uses: shogo82148/actions-create-release@v1
110+
uses: softprops/action-gh-release@v1
111111
with:
112112
tag_name: ${{ github.ref_name }}
113-
release_name: ${{ github.ref_name }}
113+
name: ${{ github.ref_name }}
114+
# body: |
115+
# See the file: CHANGELOG.md
114116
draft: false
115117
prerelease: false
116-
117-
- name: Upload Release Assets
118-
id: upload-release-assets
119-
uses: shogo82148/actions-upload-release-asset@v1
120-
with:
121-
upload_url: ${{ steps.create-github-release.outputs.upload_url }}
122-
asset_path: dist/assets/**
123-
overwrite: true
124-
github_token: ${{ secrets.GITHUB_TOKEN }}
118+
token: ${{ secrets.GITHUB_TOKEN }}
119+
files: |
120+
dist/assets/**
125121
126122
container_image:
127123
name: Create and Publish Container Image

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ build-dist: ## Build the application for all platforms defined in GO_OS and GO_A
186186

187187
##@ build-dist-zip
188188
.PHONY: build-dist-zip
189-
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
189+
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
190190
@printf "👉 Creating zip files for distribution...\n"
191191
$(call exec_cmd, mkdir -p $(DIST_ASSEST_DIR))
192192
$(foreach GOOS, $(GO_OS), \

0 commit comments

Comments
 (0)