From 8d8e3263f9470197efce5f81defbddff7a695689 Mon Sep 17 00:00:00 2001 From: Guilherme Minozzi Date: Wed, 20 Mar 2024 17:07:22 -0300 Subject: [PATCH 1/2] feat: improve how create release --- .github/workflows/publish.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 891a559..f22402b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -35,15 +35,21 @@ jobs: restore-keys: | ${{ runner.os }}-node-modules- - - name: Create release + - name: Tag Name + id: set_tag + run: | + echo ::set-output name=tag::$(git describe HEAD --abbrev=0) + + - name: Create Release + uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - tag: ${{ github.ref_name }} - run: | - gh release create "$tag" \ - --repo="$GITHUB_REPOSITORY" \ - --title="${GITHUB_REPOSITORY#*/} ${tag#v}" \ - --notes-file CHANGELOG.md + with: + release_name: Release ${{ steps.tag.outputs.tag }} + tag_name: ${{ steps.tag.outputs.tag }} + body_path: CHANGELOG.md + draft: false + prerelease: false - name: Login to npm run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc From 046c38996391aef7916bc86b7e20d72f6e1cb8d0 Mon Sep 17 00:00:00 2001 From: Guilherme Minozzi Date: Wed, 20 Mar 2024 17:09:11 -0300 Subject: [PATCH 2/2] chore(release): 1.2.0 --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 31 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25412cd..c1003e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,34 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## 1.2.0 (2024-03-20) + + +### Features + +* add editor config ([7372680](https://github.com/natahouse/nata-lint/commit/7372680b2a94f09bd60507e09b2404df31152100)) +* add npm ignore ([5388d95](https://github.com/natahouse/nata-lint/commit/5388d95caedfc80262d5dbf1e0e79cc54d491d34)) +* add nvmrc ([89be2e8](https://github.com/natahouse/nata-lint/commit/89be2e852f5aa0179bceae99b928c0bc82b40418)) +* add publish workflow ([0e16207](https://github.com/natahouse/nata-lint/commit/0e16207e9564a8c4ec1cb5770348c18d3d194a9f)) +* add publish workflow ([9fa76bc](https://github.com/natahouse/nata-lint/commit/9fa76bc961d6b47e439a76b1cd754f85a2422300)) +* add versionrc ([7b4c5d8](https://github.com/natahouse/nata-lint/commit/7b4c5d867c516f38a10dea4752b67ab2746fcdf9)) +* improve how create release ([8d8e326](https://github.com/natahouse/nata-lint/commit/8d8e3263f9470197efce5f81defbddff7a695689)) +* unify publish workflow ([8ec1e01](https://github.com/natahouse/nata-lint/commit/8ec1e0117d8ffa125a9f51596fc62306a0a3fec4)) + + +### Bug Fixes + +* add new empty line on the eol ([6c20b7e](https://github.com/natahouse/nata-lint/commit/6c20b7ed29aae22704e8fefe32ff4e0b441aa246)) +* create release workflow ([6d0016b](https://github.com/natahouse/nata-lint/commit/6d0016bd7626434e751a8e889dd9bd0c05ecad4c)) +* **docs:** english improvements and minor changes ([a34a664](https://github.com/natahouse/nata-lint/commit/a34a66404abc7cddfdd5c8f7a17a7a829b8b5571)) +* package.json configurations to extend correctly eslint configs ([bbcd92b](https://github.com/natahouse/nata-lint/commit/bbcd92b4a992c5bc53c15a735990b39bc3d5b389)) +* packageManager version ([b3c2022](https://github.com/natahouse/nata-lint/commit/b3c20225b328d45d3f93639674cfe174d252629e)) +* publish workflow ([1e177cd](https://github.com/natahouse/nata-lint/commit/1e177cdd131865c9f64a49c79809caf4aa599436)) +* publish workflow ([8f27cf7](https://github.com/natahouse/nata-lint/commit/8f27cf734be7da10bc4965e82149ccd920d411c5)) +* release tag name ([b9076af](https://github.com/natahouse/nata-lint/commit/b9076af7ef7e8a21ac8669a36e045104896a9a61)) +* remove unnecessary job ([c771497](https://github.com/natahouse/nata-lint/commit/c7714973f3ddf0a890dcaea08a57811c67a5c77b)) +* workflow to publish and generate release ([17ea560](https://github.com/natahouse/nata-lint/commit/17ea560c7b963c3358c3f530613020155032013f)) + ## 1.1.0 (2024-03-20) diff --git a/package-lock.json b/package-lock.json index 7bbfd72..8b2476f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@natahouse/eslint-config", - "version": "1.1.0", + "version": "1.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@natahouse/eslint-config", - "version": "1.1.0", + "version": "1.2.0", "license": "MIT", "dependencies": { "@typescript-eslint/eslint-plugin": "^7.1.0", diff --git a/package.json b/package.json index f7a19e8..9f55367 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@natahouse/eslint-config", - "version": "1.1.0", + "version": "1.2.0", "private": false, "description": "ESLint configuration used by nata.house", "main": "index.js",