Skip to content

Commit

Permalink
updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
michielvermeir committed Jan 2, 2024
1 parent 80bdad9 commit 4ca354a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ jobs:
- name: Build
env:
GO111MODULE: on
run: go build -v ./cmd/svart
run: |-
cp VERSION ./cmd/svart/
go build -v ./cmd/svart
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ jobs:
env:
GO111MODULE: on
run: |-
GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -v -o svart
cp VERSION ./cmd/svart/
GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -v -o svart ./cmd/svart
mv svart svart-${{ matrix.os }}-${{ matrix.arch }}
- name: Upload release asset
Expand Down
2 changes: 2 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ install: build

bump-version arg:
version {{arg}}

release: bump-version
git push
git push --tags

0 comments on commit 4ca354a

Please sign in to comment.