This commit is contained in:
parent
6f9a37da1b
commit
15db60d57d
2 changed files with 5 additions and 42 deletions
|
|
@ -1,36 +0,0 @@
|
||||||
# This is an example .goreleaser.yml file with some sensible defaults.
|
|
||||||
# Make sure to check the documentation at https://goreleaser.com
|
|
||||||
|
|
||||||
# The lines below are called `modelines`. See `:help modeline`
|
|
||||||
# Feel free to remove those if you don't want/need to use them.
|
|
||||||
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
|
|
||||||
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
|
|
||||||
|
|
||||||
version: 2
|
|
||||||
|
|
||||||
before:
|
|
||||||
hooks:
|
|
||||||
# You may remove this if you don't use go modules.
|
|
||||||
- go mod tidy
|
|
||||||
|
|
||||||
builds:
|
|
||||||
- env:
|
|
||||||
- CGO_ENABLED=0
|
|
||||||
goos:
|
|
||||||
- linux
|
|
||||||
- darwin
|
|
||||||
|
|
||||||
changelog:
|
|
||||||
sort: asc
|
|
||||||
filters:
|
|
||||||
exclude:
|
|
||||||
- "^docs:"
|
|
||||||
- "^test:"
|
|
||||||
- "^ci:"
|
|
||||||
|
|
||||||
release:
|
|
||||||
footer: >-
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Released by [GoReleaser](https://github.com/goreleaser/goreleaser).
|
|
||||||
|
|
@ -13,11 +13,10 @@ steps:
|
||||||
- cd layout
|
- cd layout
|
||||||
- npm install
|
- npm install
|
||||||
- npx @tailwindcss/cli -i style.css -o output.css
|
- npx @tailwindcss/cli -i style.css -o output.css
|
||||||
- name: release
|
- name: build
|
||||||
image: goreleaser/goreleaser
|
image: golang:1.24
|
||||||
commands:
|
commands:
|
||||||
- goreleaser release
|
go build ./
|
||||||
secrets: [ gitea_token ]
|
|
||||||
when:
|
|
||||||
event: tag
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue