diff --git a/.github/workflows copy/beta.yml b/.github/workflows copy/beta.yml deleted file mode 100644 index 2945a5f..0000000 --- a/.github/workflows copy/beta.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Release Beta -on: - push: - branches: - - beta -jobs: - build: - runs-on: ubuntu-latest - if: "!startsWith(github.event.head_commit.message, '[🚀 Release]')" - steps: - - uses: actions/checkout@v2 - with: - token: ${{ secrets.GIT_TOKEN }} - - uses: actions/setup-node@v2 - with: - node-version: "16.x" - registry-url: "https://registry.npmjs.org" - - run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)' - - run: git config --global user.email 'support@ptkdev.io' - - run: npm ci - - run: npm run github-workflow-next-version -- --cmd beta - - 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: npm publish --tag beta - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - run: git fetch --all && git checkout nightly - - run: npm run github-workflow-next-version -- --cmd nightly-next - - 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 diff --git a/.github/workflows copy/main.yml b/.github/workflows copy/main.yml deleted file mode 100644 index 4f89efa..0000000 --- a/.github/workflows copy/main.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Release Stable -on: - push: - branches: - - main -jobs: - build: - runs-on: ubuntu-latest - if: "!startsWith(github.event.head_commit.message, '[🚀 Release]')" - steps: - - uses: actions/checkout@v2 - with: - token: ${{ secrets.GIT_TOKEN }} - - uses: actions/setup-node@v2 - with: - node-version: "16.x" - registry-url: "https://registry.npmjs.org" - - run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)' - - run: git config --global user.email 'support@ptkdev.io' - - run: npm ci - - run: npm run github-workflow-next-version -- --cmd main - - 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: npm publish --tag latest - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Get current date - id: date - run: echo "::set-output name=date::$(date +'%B %d, %Y')" - - run: npm run github-workflow-changelog - - id: changelog - run: chmod +x ./scripts/changelog_release.sh && ./scripts/changelog_release.sh - - name: Release snapshot - id: release-snapshot - uses: actions/create-release@latest - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ steps.pkgjson.outputs.pkgversion }} - release_name: v${{ steps.pkgjson.outputs.pkgversion }} - body: | - ### CHANGELOG: v${{ steps.pkgjson.outputs.pkgversion }} (${{ steps.date.outputs.date }})${{ steps.changelog.outputs.changelog }} - draft: false - prerelease: false diff --git a/.github/workflows copy/nightly.yml b/.github/workflows copy/nightly.yml deleted file mode 100644 index ea10878..0000000 --- a/.github/workflows copy/nightly.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Release Nightly -on: - schedule: - - cron: "30 23 * * *" - push: - branches: - - nightly -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: - token: ${{ secrets.GIT_TOKEN }} - ref: nightly - - uses: actions/setup-node@v2 - with: - node-version: "16.x" - registry-url: "https://registry.npmjs.org" - - run: git config --global user.name 'Patryk Rzucidlo (@PTKDev)' - - run: git config --global user.email 'support@ptkdev.io' - - run: npm ci - - run: npm run github-workflow-next-version -- --cmd nightly - - 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: npm publish --tag nightly - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4f89efa..ec4b899 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,6 @@ on: jobs: build: runs-on: ubuntu-latest - if: "!startsWith(github.event.head_commit.message, '[🚀 Release]')" steps: - uses: actions/checkout@v2 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index a0ba732..a591989 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ -# v0.6.1 (Juanuary 10, 2022) +# v0.6.2 (Juanuary 10, 2022) -- Fix: minor issues +- Fix: CI/CD @@ -8,6 +8,10 @@ +# v0.6.2 (Juanuary 10, 2022) + +- Fix: minor issues + # v0.6.0 (December 04, 2021) - Feature: /version command diff --git a/README.md b/README.md index a6ad59d..c3f0750 100755 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ -[![v0.6.1](https://img.shields.io/badge/version-v0.6.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/aboutmeinfo-telegram-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/aboutmeinfo-telegram-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/aboutmeinfo-telegram-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/aboutmeinfo-telegram-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![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) +[![v0.6.2-beta.1](https://img.shields.io/badge/version-v0.6.2--beta.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/aboutmeinfo-telegram-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/aboutmeinfo-telegram-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/aboutmeinfo-telegram-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/aboutmeinfo-telegram-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![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 3545d89..3bb2251 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@ptkdev/aboutmeinfo-telegram-bot", "displayName": "About Me Info", "description": "Share your social media and links on Telegram", - "version": "0.6.1", + "version": "0.6.2-beta.1", "main": "dist/core/bot.js", "publishConfig": { "access": "public"