This release should be the most stable one yet. Fixed a few bugs, and implemented Actions support.
release / release (push) Failing after 25s
release / release (push) Failing after 25s
This commit is contained in:
@@ -0,0 +1,31 @@
|
|||||||
|
name: release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: setup go
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: '>=1.20.1'
|
||||||
|
- name: release-build
|
||||||
|
run: go build -ldflags="-s -w -X 'main.Version=${{ github.ref_name }}'" -o bin/go-opds-pse-${{ github.ref_name }}-linux-amd64
|
||||||
|
- name: release-build-windows
|
||||||
|
run: GOOS=windows GOARCH=amd64 go build -ldflags="-s -w -X 'main.Version=${{ github.ref_name }}'" -o bin/go-opds-pse-${{ github.ref_name }}-windows-amd64.exe
|
||||||
|
- name: release-build-darwin
|
||||||
|
run: GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w -X 'main.Version=${{ github.ref_name }}'" -o bin/go-opds-pse-${{ github.ref_name }}-darwin-amd64
|
||||||
|
- name: Use Go Action
|
||||||
|
id: use-go-action
|
||||||
|
uses: actions/release-action@main
|
||||||
|
with:
|
||||||
|
files: |-
|
||||||
|
bin/**
|
||||||
|
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||||
@@ -14,7 +14,7 @@ func main() {
|
|||||||
app := cli.NewApp()
|
app := cli.NewApp()
|
||||||
app.Name = "go-opds-pse"
|
app.Name = "go-opds-pse"
|
||||||
app.Usage = "A lightweight OPDS server with PSE support."
|
app.Usage = "A lightweight OPDS server with PSE support."
|
||||||
app.Version = "1.0.1+dev"
|
app.Version = "1.0.2"
|
||||||
app.Flags = []cli.Flag{
|
app.Flags = []cli.Flag{
|
||||||
cmd.StringFlag("manga, m", "manga", "default manga folder"),
|
cmd.StringFlag("manga, m", "manga", "default manga folder"),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user