1
0
mirror of https://github.com/go-task/task.git synced 2025-11-27 22:38:20 +02:00

fix: goreleaser with cloudsmith and npm (#2372)

This commit is contained in:
Valentin Maerten
2025-08-13 15:14:57 +02:00
committed by GitHub
parent 504cb94e8b
commit d59c795502
3 changed files with 11 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
name: Realease nightly
name: Release nightly
on:
workflow_dispatch:
@@ -27,3 +27,4 @@ jobs:
env:
GITHUB_TOKEN: ${{secrets.GH_PAT}}
GORELEASER_KEY: ${{secrets.GORELEASER_KEY}}
CLOUDSMITH_TOKEN: ${{secrets.CLOUDSMITH_TOKEN}}

View File

@@ -43,6 +43,7 @@ jobs:
env:
GITHUB_TOKEN: ${{secrets.GH_PAT}}
GORELEASER_KEY: ${{secrets.GORELEASER_KEY}}
CLOUDSMITH_TOKEN: ${{secrets.CLOUDSMITH_TOKEN}}
- name: Deploy Website
shell: bash

View File

@@ -68,6 +68,7 @@ nfpms:
formats:
- deb
- rpm
- apk
file_name_template: '{{.ProjectName}}_{{.Os}}_{{.Arch}}'
contents:
- src: completion/bash/task.bash
@@ -147,9 +148,9 @@ npms:
author: "The Task authors"
access: public
keywords:
- "task",
- "taskfile",
- "build-tool",
- "task"
- "taskfile"
- "build-tool"
- "task-runner"
@@ -161,13 +162,13 @@ cloudsmiths:
- rpm
- apk
distributions:
deb:
- "ubuntu/any-version"
- "debian/any-version"
# deb:
# - "ubuntu/any-version"
# - "debian/any-version"
rpm:
- "el/any-version"
- "fedora/any-version"
alpine:
- "alpine/any-version"
component: main
component: "{{if .IsNightly}}unstable{{else}}main{{end}}"
republish: true