b864af4bb2
- Aggiunto package.json con versione 1.0.0 - Nuovo workflow release.yml standalone: crea release Gitea su tag v* - Aggiornamento automatico tag major floating (v1 → latest v1.x.x) - Esempi aggiornati da @main a @v1 (tag major stabile) Flusso di release: git tag v1.0.0 && git push origin v1.0.0 → crea release Gitea con changelog → aggiorna tag floating v1
22 lines
561 B
YAML
22 lines
561 B
YAML
# Copia in: .gitea/workflows/release.yml
|
|
# Trigger: git tag v* → pubblica su npm + crea release Gitea
|
|
#
|
|
# NOTA: i job girano in parallelo (non sequenziali con needs).
|
|
# Gitea bug #31900: needs + workflow_call + checkout causa errori di autenticazione.
|
|
|
|
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
npm-publish:
|
|
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/npm-publish.yml@v1
|
|
secrets: inherit
|
|
|
|
auto-release:
|
|
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/auto-release.yml@v1
|
|
secrets: inherit
|