Skip to content

Commit 1d309dc

Browse files
committedAug 20, 2023
Add bookmarks cmd, Fix pdfcpu#506, pdfcpu#621, pdfcpu#671, bump version
1 parent be32323 commit 1d309dc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+3137
-1209
lines changed
 

‎.github/workflows/test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
goarch: amd64
1919
go:
2020
- '1.20.x'
21+
- '1.21.x'
2122
runs-on: ubuntu-latest
2223

2324
steps:

‎.goreleaser.yml

+16-6
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,33 @@ builds:
55
ldflags:
66
- '-s -w -X main.version={{.Version}} -X github.com/pdfcpu/pdfcpu/pkg/pdfcpu.VersionStr={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}} -X main.builtBy=goreleaser'
77
goos:
8+
- ios
89
- js
910
- linux
1011
- darwin
1112
- windows
13+
goarch:
14+
- "386"
15+
- arm64
16+
- wasm
17+
- amd64
1218
dist: ./dist
1319
archives:
1420
-
1521
format: tar.xz
1622
format_overrides:
1723
- goos: windows
1824
format: zip
19-
replacements:
20-
darwin: macOS
21-
linux: Linux
22-
windows: Windows
23-
386: i386
24-
amd64: x86_64
25+
name_template: >-
26+
{{- .ProjectName }}_
27+
{{- .Version }}_
28+
{{- title .Os }}_
29+
{{- if eq .Arch "linux" }}Linux
30+
{{- else if eq .Arch "windows" }}Windows
31+
{{- else if eq .Arch "386" }}i386
32+
{{- else if eq .Arch "amd64" }}x86_64
33+
{{- else }}{{ .Arch }}{{ end }}
34+
{{- if .Arm }}v{{ .Arm }}{{ end -}}
2535
wrap_in_directory: true
2636
checksum:
2737
name_template: 'checksums.txt'

0 commit comments

Comments
 (0)
Please sign in to comment.