mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-06-18 01:41:19 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7a70ed6614 | |||
| f9a18995d0 | |||
| 66756b6772 | |||
| a0f1ab6930 |
@@ -22,5 +22,4 @@ jobs:
|
||||
docker-enabled: true
|
||||
rolling-release-tag: "v1"
|
||||
semver-config: "config-release.yaml"
|
||||
secrets:
|
||||
homebrew-tap-token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
|
||||
secrets: inherit
|
||||
|
||||
+12
-48
@@ -24,7 +24,7 @@ builds:
|
||||
archives:
|
||||
- id: semver-gen
|
||||
formats: [tar.gz]
|
||||
name_template: "semver-gen-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
|
||||
name_template: "semver-gen-{{ .Os }}-{{ .Arch }}"
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
formats: [zip]
|
||||
@@ -34,7 +34,7 @@ archives:
|
||||
- config.yaml
|
||||
|
||||
checksum:
|
||||
name_template: "semver-gen-{{ .Version }}-checksums.txt"
|
||||
name_template: "semver-gen-checksums.txt"
|
||||
algorithm: sha256
|
||||
|
||||
changelog:
|
||||
@@ -55,57 +55,21 @@ release:
|
||||
draft: false
|
||||
prerelease: auto
|
||||
|
||||
dockers:
|
||||
- id: semver-gen-amd64
|
||||
goos: linux
|
||||
goarch: amd64
|
||||
ids:
|
||||
- semver-gen
|
||||
image_templates:
|
||||
- "ghcr.io/lukaszraczylo/semver-generator:{{ .Version }}-amd64"
|
||||
- "ghcr.io/lukaszraczylo/semver-generator:latest-amd64"
|
||||
- "ghcr.io/lukaszraczylo/semver-generator:v1-amd64"
|
||||
dockers_v2:
|
||||
- images:
|
||||
- "ghcr.io/lukaszraczylo/semver-generator"
|
||||
tags:
|
||||
- "{{ .Version }}"
|
||||
- "latest"
|
||||
- "v1"
|
||||
platforms:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
dockerfile: Dockerfile.goreleaser
|
||||
use: buildx
|
||||
build_flag_templates:
|
||||
- "--platform=linux/amd64"
|
||||
extra_files:
|
||||
- config-release.yaml
|
||||
- entrypoint.sh
|
||||
|
||||
- id: semver-gen-arm64
|
||||
goos: linux
|
||||
goarch: arm64
|
||||
ids:
|
||||
- semver-gen
|
||||
image_templates:
|
||||
- "ghcr.io/lukaszraczylo/semver-generator:{{ .Version }}-arm64"
|
||||
- "ghcr.io/lukaszraczylo/semver-generator:latest-arm64"
|
||||
- "ghcr.io/lukaszraczylo/semver-generator:v1-arm64"
|
||||
dockerfile: Dockerfile.goreleaser
|
||||
use: buildx
|
||||
build_flag_templates:
|
||||
- "--platform=linux/arm64"
|
||||
extra_files:
|
||||
- config-release.yaml
|
||||
- entrypoint.sh
|
||||
|
||||
docker_manifests:
|
||||
- name_template: "ghcr.io/lukaszraczylo/semver-generator:{{ .Version }}"
|
||||
image_templates:
|
||||
- "ghcr.io/lukaszraczylo/semver-generator:{{ .Version }}-amd64"
|
||||
- "ghcr.io/lukaszraczylo/semver-generator:{{ .Version }}-arm64"
|
||||
|
||||
- name_template: "ghcr.io/lukaszraczylo/semver-generator:latest"
|
||||
image_templates:
|
||||
- "ghcr.io/lukaszraczylo/semver-generator:latest-amd64"
|
||||
- "ghcr.io/lukaszraczylo/semver-generator:latest-arm64"
|
||||
|
||||
- name_template: "ghcr.io/lukaszraczylo/semver-generator:v1"
|
||||
image_templates:
|
||||
- "ghcr.io/lukaszraczylo/semver-generator:v1-amd64"
|
||||
- "ghcr.io/lukaszraczylo/semver-generator:v1-arm64"
|
||||
|
||||
homebrew_casks:
|
||||
- repository:
|
||||
owner: lukaszraczylo
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
FROM ubuntu:jammy
|
||||
COPY semver-gen /go/src/app/semver-gen
|
||||
ARG TARGETPLATFORM
|
||||
COPY ${TARGETPLATFORM}/semver-gen /go/src/app/semver-gen
|
||||
COPY config-release.yaml /go/src/app/config.yaml
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
@@ -217,7 +217,7 @@ wording:
|
||||
* `blacklist`: terms to ignore when processing commits. Any commit containing these terms will be skipped in version calculations. Useful for ignoring merge commits, feature branch names, and other unwanted triggers.
|
||||
* `wording`: words the program should look for in the git commits to increment (patch|minor|major)
|
||||
|
||||
### Good to know
|
||||
### Good to knows
|
||||
|
||||
* Word matching uses fuzzy search AND is case INSENSITIVE
|
||||
* I do not recommend using common words ( like "the" from the example configuration )
|
||||
|
||||
Reference in New Issue
Block a user