Skip to content

Commit

Permalink
enable release upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
nicanordlc committed May 30, 2024
1 parent a393811 commit cabeedd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Wails build

on:
push:
branches:
- main
tags:
- '*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,10 @@ test: test-backend test-frontend

.PHONY: build-windows
build-windows:
@wails build -platform windows/amd64
@wails build -platform windows/amd64

release_version := $(shell git rev-parse --short HEAD)
.PHONY: release
release:
@git tag -a v-"$(release_version)" -m "$(release_version)"
@git push --tags

0 comments on commit cabeedd

Please sign in to comment.