-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
132 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ coverage* | |
|
||
vendor/** | ||
!vendor/manifest | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
project_name: autotag | ||
env: | ||
- GO111MODULE=on | ||
- GOPROXY=https://proxy.golang.org | ||
builds: | ||
- binary: autotag | ||
id: macos | ||
main: autotag/main.go | ||
ldflags: | ||
- -s -w -X main.version={{.Version}}+{{.ShortCommit}} | ||
goos: | ||
- darwin | ||
goarch: | ||
- amd64 | ||
|
||
- binary: autotag | ||
id: linux | ||
main: autotag/main.go | ||
ldflags: | ||
- -s -w -X main.version={{.Version}}+{{.ShortCommit}} | ||
goos: | ||
- linux | ||
goarch: | ||
- amd64 | ||
|
||
# TODO: verify windows functionality then enable windows release binaries | ||
# - binary: autotag | ||
# id: windows | ||
# main: autotag/main.go | ||
# ldflags: | ||
# - -s -w -X main.version={{.Version}}+{{.ShortCommit}} | ||
# goos: | ||
# - windows | ||
# goarch: | ||
# - amd64 | ||
|
||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^readme:' | ||
- '^test:' | ||
- Merge pull request | ||
- Merge branch | ||
|
||
# GPG signing | ||
# TODO: consider implementing a "project signing key" | ||
# sign: | ||
# artifacts: checksum | ||
|
||
archives: | ||
# Binary named 'Linux' for backwards compatibility with old release format | ||
- id: old-format-liinux | ||
builds: ["linux"] | ||
format: binary | ||
name_template: "Linux" | ||
# Binary named 'OSX' for backwards compatibility with old release format | ||
- id: old-format-osx | ||
builds: ["macos"] | ||
format: binary | ||
name_template: "OSX" | ||
|
||
# homebrew | ||
# brews: | ||
# - ids: | ||
# - archives | ||
# github: | ||
# owner: pantheon-systems | ||
# name: homebrew-taps | ||
# commit_author: | ||
# name: pantheon releases | ||
# email: infrastructure@pantheon.io | ||
# folder: Formula | ||
# homepage: "https://github.com/pantheon-systems/autotag" | ||
# description: "Automatically add version tags to a git repo based on commit messages." | ||
|
||
dockers: | ||
- | ||
dockerfile: Dockerfile | ||
image_templates: | ||
- "quay.io/pantheon-public/autotag:{{ .Tag }}" # v1.0.0 | ||
- "quay.io/pantheon-public/autotag:v{{ .Major }}" # v1 | ||
- "quay.io/pantheon-public/autotag:v{{ .Major }}.{{ .Minor }}" # v1.0 | ||
- "quay.io/pantheon-public/autotag:latest" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM alpine:latest | ||
|
||
RUN apk add --no-cache git | ||
|
||
COPY ./autotag /autotag | ||
|
||
ENTRYPOINT [ "/autotag" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.