template / commit
Making some suggested updates and temporarily publishing from main.
.gitlab-ci.yml | 7 +++++-- .goreleaser.yaml | 8 +++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1198475..c600625 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,10 +43,13 @@ release: # generate a changelog. GIT_DEPTH: 0 + # TEMPORARILY RUN THIS RELEASE JOB FOR EVERY COMMIT. + # TODO: REMOVE ASAP # Only run this release job for tags, not every commit (for example). only: - refs: - - tags + - main + # refs: + # - tags script: - make release \ No newline at end of file diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 33d6ce8..24d1610 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -114,7 +114,7 @@ chocolateys: # The app's title. # A human-friendly title of the package. # Defaults to `ProjectName`. - title: template + title: Template # Your app's authors (probably you). # Defaults are shown below. @@ -150,7 +150,9 @@ chocolateys: # Your app's source url. # Default is empty. - project_source_url: https://gitlab.com/PavelSafronov/template + # project_source_url: https://gitlab.com/PavelSafronov/template + + package_source_url: https://gitlab.com/PavelSafronov/template # Your app's documentation url. # Default is empty. @@ -181,7 +183,7 @@ chocolateys: # Default is empty. # https://gitlab.com/PavelSafronov/template/-/releases/v0.1.21 # release_notes: "https://github.com/foo/bar/releases/tag/v{{ .Version }}" - release_notes: "https://gitlab.com/PavelSafronov/template/-/releases/{{ .Version }}" + release_notes: "https://gitlab.com/PavelSafronov/template/-/releases/v{{ .Version }}" # # App's dependencies # # Default is empty. Version is not required.