Skip to content

Commit

Permalink
ci : create a release after build
Browse files Browse the repository at this point in the history
  • Loading branch information
LordPax committed Apr 16, 2024
1 parent f725a3c commit 89faae3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,13 @@ jobs:

- name: Build
run: go build -v ./...

- name: Go Release Binaries
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.TOKEN }}
release_name: ${{ github.event.head_commit.message }}
tag: ${{ github.ref }}
body: ${{ github.event.head_commit.message }}
draft: false
prerelease: false
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var home, _ = os.UserHomeDir()

var (
NAME = "scan2epub"
VERSION = "0.0.1"
VERSION = "0.1.0"
USAGE = "CLI tool to convert scan to epub"
CONFIG_DIR = home + "/.config/scan2epub"
CONFIG_FILE = CONFIG_DIR + "/config"
Expand Down

0 comments on commit 89faae3

Please sign in to comment.