From e5d1a1777ec4e19daaafa54596fc1857de4a81a0 Mon Sep 17 00:00:00 2001 From: Titouan Mathis Date: Tue, 12 Mar 2024 17:06:39 +0100 Subject: [PATCH 1/3] Bump verion number --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9a5aecf..46cb6dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@studiometa/prettier-formatter-gitlab", - "version": "1.1.3", + "version": "1.1.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@studiometa/prettier-formatter-gitlab", - "version": "1.1.3", + "version": "1.1.4", "license": "MIT", "dependencies": { "chalk": "^4.1.0", diff --git a/package.json b/package.json index d5fc451..a08dbeb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@studiometa/prettier-formatter-gitlab", - "version": "1.1.3", + "version": "1.1.4", "description": "A Prettier formatter for the GitLab Code Quality report", "main": "src/index.js", "bin": { From 42f3f95e3f93a03fe846ad531904d130a34e7c1f Mon Sep 17 00:00:00 2001 From: Titouan Mathis Date: Tue, 12 Mar 2024 17:06:52 +0100 Subject: [PATCH 2/3] Fix auto-publish on tag push --- .github/workflows/npm-publish.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index f803743..f70855f 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -1,11 +1,9 @@ -# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created -# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages - -name: NPM Publish +name: Release on: - release: - types: [created] + push: + tags: + - '*.*.*' jobs: publish: From 29c3c10ff20deab92b50d4df6715108e2a7cda13 Mon Sep 17 00:00:00 2001 From: Titouan Mathis Date: Tue, 12 Mar 2024 17:07:36 +0100 Subject: [PATCH 3/3] Update changelog --- CHANGELOG.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 17e2d74..c11c0b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] -### v1.1.3 - 2024.03.12 +## v1.1.4 - 2024.03.12 + +### Fixed + +- Fix auto-publish on tag push ([42f3f95](https://github.com/studiometa/prettier-formatter-gitlab/commit/42f3f95)) + +## v1.1.3 - 2024.03.12 ### Fixed @@ -18,7 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Simplify NPM pulbish action ([4ed273f](https://github.com/studiometa/prettier-formatter-gitlab/commit/4ed273f)) - Update Node v12 → v20 ([f59fcb4](https://github.com/studiometa/prettier-formatter-gitlab/commit/f59fcb4)) -### v1.1.2 - 2022.03.11 +## v1.1.2 - 2022.03.11 ### Fixed