Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
The current release workflow was using golang 1.16 and failing to
download and vendor the dependencies, but since the build is not being
used during the brew builds, as we generate new ones, the easiest option
was to remove that dated workflow and let only the distribution-tarball
generate the needed files.

Signed-off-by: Rodolfo Olivieri <[email protected]>
  • Loading branch information
r0x0d committed Oct 16, 2023
1 parent c0cf4c1 commit fd259f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,13 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4

- name: Generate build files
uses: thatisuday/[email protected]
- uses: actions/setup-go@v4
with:
platforms: 'linux/amd64'
package: 'src'
name: 'rhc-worker-script-${{ steps.tagName.outputs.tag }}'
compress: 'true'
dest: 'dist'
go-version: '1.19'

- name: Generate distribution tarball
run: |
make distribution-tarball
mkdir dist && make distribution-tarball
sudo mv *.tar.gz dist/
env:
VERSION: '${{ steps.tagName.outputs.tag }}'
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
coverage-html

# Project constants
VERSION ?= 0.4
VERSION ?= 0.5
PKGNAME ?= rhc-worker-script
GO_SOURCES := $(wildcard src/*.go)
PYTHON ?= python3
Expand Down

0 comments on commit fd259f0

Please sign in to comment.