ci: remove hook goreleaser
This commit is contained in:
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -85,10 +85,23 @@ jobs:
|
|||||||
chmod +x "$PLUGIN_DIR/provider-zexlab"
|
chmod +x "$PLUGIN_DIR/provider-zexlab"
|
||||||
|
|
||||||
- uses: go-semantic-release/action@v1
|
- uses: go-semantic-release/action@v1
|
||||||
|
id: semrel
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.ZX_TOKEN }}
|
github-token: ${{ secrets.ZX_TOKEN }}
|
||||||
hooks: goreleaser
|
|
||||||
allow-initial-development-versions: true
|
allow-initial-development-versions: true
|
||||||
custom-arguments: "--provider zexlab"
|
custom-arguments: "--provider zexlab"
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.ZX_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.ZX_TOKEN }}
|
||||||
|
|
||||||
|
- name: Fetch new tag
|
||||||
|
if: steps.semrel.outputs.version != ''
|
||||||
|
run: git fetch --tags origin
|
||||||
|
|
||||||
|
- name: Run GoReleaser
|
||||||
|
if: steps.semrel.outputs.version != ''
|
||||||
|
uses: goreleaser/goreleaser-action@v6
|
||||||
|
with:
|
||||||
|
version: "~> v2"
|
||||||
|
args: release --clean --skip=validate
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.ZX_TOKEN }}
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
version: 2
|
||||||
|
|
||||||
gitea_urls:
|
gitea_urls:
|
||||||
api: https://zexlab.dev/api/v1
|
api: https://zexlab.dev/api/v1
|
||||||
download: https://zexlab.dev
|
download: https://zexlab.dev
|
||||||
|
|||||||
Reference in New Issue
Block a user