Skip to content

Commit

Permalink
v1.0.5 - Fix goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Siu committed May 10, 2022
1 parent e27605f commit 39ab9a7
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 19 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@ name: Release
on:
push:
tags:
- "*"
repository_dispatch:
types: manual
- "v*"
workflow_dispatch:

permissions:
contents: write

jobs:
release:
name: Release
strategy:
matrix:
os: [ubuntu-latest]
go: ["1.16"]
go: ["1.18"]
runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -55,18 +57,11 @@ jobs:
echo "::set-output name=tag_patch::${TAG_PATCH}"
echo "::set-output name=tag_special::${TAG_SPECIAL}"
- name: Cache the build cache
uses: actions/cache@v2
with:
path: ${{ steps.vars.outputs.go_cache }}
key: ${{ runner.os }}-go${{ matrix.go }}-release-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go${{ matrix.go }}-release
# GoReleaser will take care of publishing those artifacts into the release
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License

Copyright (c) 2021 John Siu
Copyright (c) 2022 John Siu

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,14 @@ Debug: export _DEBUG=true
- Use github.com/J-Siu/go-helper
- 1.0.4
- Use Go 1.16
- v1.0.5
- Fix goreleaser

### License

The MIT License

Copyright (c) 2021 John Siu
Copyright (c) 2022 John Siu

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
11 changes: 8 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
module github.com/J-Siu/go-png2ico
module go-png2ico

go 1.16
go 1.18

require github.com/J-Siu/go-helper v0.0.0-20200831211848-b952ab4d60dd
require github.com/J-Siu/go-helper v1.0.0

require (
golang.org/x/crypto v0.0.0-20220507011949-2cf3adece122 // indirect
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6 // indirect
)
8 changes: 6 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
github.com/J-Siu/go-helper v0.0.0-20200831211848-b952ab4d60dd h1:T9YJZEh+dpSnLQjdghlzlvex2TEDqYDkTFCMH20ZW7A=
github.com/J-Siu/go-helper v0.0.0-20200831211848-b952ab4d60dd/go.mod h1:osOB48394q2nxkD4Ch6/kmSKqCgEHe7ALnsHDLAkO2w=
github.com/J-Siu/go-helper v1.0.0 h1:/U33udVagh6ThL6v8pW+Vjyk1Ttpq7GWKbPA/0Fsiy4=
github.com/J-Siu/go-helper v1.0.0/go.mod h1:mAVy/565qS6DuPlTUrVT2w/OyACpN8y9CVI96o9MO4A=
golang.org/x/crypto v0.0.0-20220507011949-2cf3adece122 h1:NvGWuYG8dkDHFSKksI1P9faiVJ9rayE6l0+ouWVIDs8=
golang.org/x/crypto v0.0.0-20220507011949-2cf3adece122/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6 h1:nonptSpoQ4vQjyraW20DXPAglgQfVnM9ZC6MmNLMR60=
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=

0 comments on commit 39ab9a7

Please sign in to comment.