1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-26 21:34:45 +01:00
This commit is contained in:
Daniil Gentili 2022-01-29 21:12:25 +01:00
parent 142b4ce283
commit d62e8a3ff1
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
4 changed files with 1 additions and 76 deletions

View File

@ -1,32 +0,0 @@
name: goreleaser
on:
push:
tags:
- '*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,16 +0,0 @@
build:
main: main.go
binary: gojekyll
ldflags: -s -w -X gojekyll/cmd.Version={{.Version}} -X gojekyll/cmd.BuildDate={{.Date}}
goos:
- darwin
goarch:
- amd64
archive:
replacements:
amd64: 64bit
386: 32bit
darwin: macOS
linux: Linux
release:
draft: true

View File

@ -1,27 +0,0 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
archives:
- replacements:
linux: Linux
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

View File

@ -58,7 +58,7 @@ gojekyll help build
### Binary Downloads ### Binary Downloads
1. Linux, Windows and macOS binaries are available from the [releases 1. Binaries are available from the [releases
page](https://github.com/danog/gojekyll/releases). page](https://github.com/danog/gojekyll/releases).
2. [Optional] **Themes**. To use a theme, you need to install Ruby and 2. [Optional] **Themes**. To use a theme, you need to install Ruby and
[bundler](http://bundler.io/). Create a `Gemfile` that lists the theme., and [bundler](http://bundler.io/). Create a `Gemfile` that lists the theme., and