From 8a0ccb4059a4074cb07699f0ded78d02d09529f3 Mon Sep 17 00:00:00 2001 From: "Patryk Rzucidlo (@PTKDev)" Date: Sun, 16 Jan 2022 23:10:16 +0100 Subject: [PATCH 1/3] [Next] Release --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f6555ab..cc0ebe9 100755 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ -[![v2.0.0-nightly.0](https://img.shields.io/badge/version-v2.0.0--nightly.0-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev-boilerplate/node-cli-boilerplate/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/node-cli-boilerplate?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/node-cli-boilerplate) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev-boilerplate/node-cli-boilerplate/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io) +[![v2.0.1-nightly.0](https://img.shields.io/badge/version-v2.0.1--nightly.0-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev-boilerplate/node-cli-boilerplate/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/node-cli-boilerplate?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/node-cli-boilerplate) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev-boilerplate/node-cli-boilerplate/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io) diff --git a/package.json b/package.json index cf0b5fb..758f8bc 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@ptkdev/node-cli-boilerplate", "displayName": "Node Command Line Interface Boilerplate", "description": "Create node cli with this user friendly boilerplate. Use this respository as template for your new npm command line interface project", - "version": "2.0.0-nightly.0", + "version": "2.0.1-nightly.0", "main": "dist/cli/cli.js", "bin": { "node-cli-boilerplate": "dist/cli/cli.js", From d6efd56400a2f636aecfd04e9a89ceebd6fee04a Mon Sep 17 00:00:00 2001 From: "Patryk Rzucidlo (@PTKDev)" Date: Sun, 16 Jan 2022 23:20:44 +0100 Subject: [PATCH 2/3] [Fix] CI/CD --- .github/workflows/beta.yml | 6 +++--- .github/workflows/nightly.yml | 4 ++-- .github/workflows/release.yml | 1 - CHANGELOG.md | 12 ++++++++---- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 2141a2c..c157a45 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -6,7 +6,7 @@ on: jobs: build: runs-on: ubuntu-latest - if: "!startsWith(github.event.head_commit.message, '[🚀 Release]')" + if: "!startsWith(github.event.head_commit.message, '[🚀 Release Beta]')" steps: - uses: actions/checkout@v2 with: @@ -23,7 +23,7 @@ jobs: - run: npm run pre-commit - id: pkgjson run: chmod +x ./scripts/version.sh && ./scripts/version.sh - - run: git add . && git commit -m "[🚀 Release] v${{ steps.pkgjson.outputs.pkgversion }}" && git push + - run: git add . && git commit -m "[🚀 Release Beta] v${{ steps.pkgjson.outputs.pkgversion }}" && git push - run: npm publish --tag beta env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -32,4 +32,4 @@ jobs: - run: npm run pre-commit - id: nextnightly run: chmod +x ./scripts/version.sh && ./scripts/version.sh - - run: git add . && git commit -m "[🚀 Release] v${{ steps.nextnightly.outputs.pkgversion }}" && git push + - run: git add . && git commit -m "[🚀 Release Nightly] v${{ steps.nextnightly.outputs.pkgversion }}" && git push diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index d0481fc..4233c53 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -5,7 +5,7 @@ on: jobs: build: runs-on: ubuntu-latest - if: "!startsWith(github.event.head_commit.message, '[🚀 Release]') || startsWith(github.event.head_commit.message, '[🚀 Release] Nightly')" + if: "!startsWith(github.event.head_commit.message, '[🚀 Release Nightly]')" steps: - uses: actions/checkout@v2 with: @@ -23,7 +23,7 @@ jobs: - run: npm run pre-commit - id: pkgjson run: chmod +x ./scripts/version.sh && ./scripts/version.sh - - run: git add . && git commit -m "[🚀 Release] v${{ steps.pkgjson.outputs.pkgversion }}" && git push + - run: git add . && git commit -m "[🚀 Release Nightly] v${{ steps.pkgjson.outputs.pkgversion }}" && git push - run: npm publish --tag nightly env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5adef33..4ad2f5e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,6 @@ on: jobs: build: runs-on: ubuntu-latest - if: "!startsWith(github.event.head_commit.message, '[🚀 Release]') || startsWith(github.event.head_commit.message, '[🚀 Release] Nightly')" steps: - uses: actions/checkout@v2 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index ae6e307..d0ed39f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,6 @@ -# v2.0.0 (January 16, 2022) +# v2.0.6 (January 16, 2022) -- Refactor: code quality, scripts and interfaces -- Security: updated packages -- Features: CI/CD +- Fix: CI/CD @@ -10,6 +8,12 @@ +# v2.0.0 (January 16, 2022) + +- Refactor: code quality, scripts and interfaces +- Security: updated packages +- Features: CI/CD + # v1.0.20210930 (September 30, 2021) - Security: update From d1543c272ad320ee249e843aaee888f202983013 Mon Sep 17 00:00:00 2001 From: "Patryk Rzucidlo (@PTKDev)" Date: Sun, 16 Jan 2022 22:22:14 +0000 Subject: [PATCH 3/3] =?UTF-8?q?[=F0=9F=9A=80=20Release=20Beta]=20v2.0.1-be?= =?UTF-8?q?ta.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cc0ebe9..fdeea71 100755 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ -[![v2.0.1-nightly.0](https://img.shields.io/badge/version-v2.0.1--nightly.0-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev-boilerplate/node-cli-boilerplate/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/node-cli-boilerplate?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/node-cli-boilerplate) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev-boilerplate/node-cli-boilerplate/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io) +[![v2.0.1-beta.1](https://img.shields.io/badge/version-v2.0.1--beta.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev-boilerplate/node-cli-boilerplate/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/node-cli-boilerplate?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/node-cli-boilerplate) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev-boilerplate/node-cli-boilerplate/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io) diff --git a/package.json b/package.json index 758f8bc..844227b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@ptkdev/node-cli-boilerplate", "displayName": "Node Command Line Interface Boilerplate", "description": "Create node cli with this user friendly boilerplate. Use this respository as template for your new npm command line interface project", - "version": "2.0.1-nightly.0", + "version": "2.0.1-beta.1", "main": "dist/cli/cli.js", "bin": { "node-cli-boilerplate": "dist/cli/cli.js",