From 7bf77284ddbe4033f5f8a345113ec8440f44b8fd Mon Sep 17 00:00:00 2001 From: TobenderZephyr Date: Fri, 7 May 2021 23:02:47 +0200 Subject: [PATCH] Update readme (#49) * removed dependency to Random * removed dependency to node-fetch * remove node-fetch, add got * updated README * bump version --- .github/workflows/bump-version.yml | 31 ++++++++++++++++++++++++++++++ README.md | 2 +- package.json | 2 +- 3 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/bump-version.yml diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml new file mode 100644 index 0000000..d5b3cf9 --- /dev/null +++ b/.github/workflows/bump-version.yml @@ -0,0 +1,31 @@ +name: "Bump Version" + +on: + push: + branches: + - "master" + +jobs: + bump-version: + name: "Bump Version on master" + runs-on: ubuntu-latest + + steps: + - name: "Checkout source code" + uses: "actions/checkout@v2" + with: + ref: ${{ github.ref }} + - name: "cat package.json" + run: cat ./package.json + - name: "Setup Node.js" + uses: "actions/setup-node@v1" + with: + node-version: 12 + - name: "Automated Version Bump" + uses: "phips28/gh-action-bump-version@master" + with: + tag-prefix: '' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: "cat package.json" + run: cat ./package.json \ No newline at end of file diff --git a/README.md b/README.md index cc7eb99..34c2573 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # DSA Discord Bot -![GitHub package.json version](https://img.shields.io/github/package-json/v/TobenderZephyr/dsabot?style=flat-square) ![node-current](https://img.shields.io/node/v/discord.js?style=flat-square) ![GitHub last commit](https://img.shields.io/github/last-commit/TobenderZephyr/dsabot?style=flat-square) ![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/TobenderZephyr/dsabot-docker/Build%20Image%20on%20Push/main?label=docker%20image&style=flat-square) ![Docker Pulls](https://img.shields.io/docker/pulls/tobenderzephyr/dsabot) [![CodeQL](https://github.com/TobenderZephyr/dsabot/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/TobenderZephyr/dsabot/actions/workflows/codeql-analysis.yml) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/565f705cf4a8403387b55c559a7bf5bc)](https://www.codacy.com/gh/TobenderZephyr/dsabot/dashboard?utm_source=github.com&utm_medium=referral&utm_content=TobenderZephyr/dsabot&utm_campaign=Badge_Grade) +![GitHub package.json version](https://img.shields.io/github/package-json/v/TobenderZephyr/dsabot?style=flat-square) ![node-current](https://img.shields.io/node/v/discord.js?style=flat-square) ![GitHub last commit](https://img.shields.io/github/last-commit/TobenderZephyr/dsabot?style=flat-square) ![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/TobenderZephyr/dsabot-docker/Build%20Image%20on%20Push/main?label=docker%20image&style=flat-square) ![Docker Pulls](https://img.shields.io/docker/pulls/tobenderzephyr/dsabot) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/e7dfc961c9eb481185468cc59b22fdfa)](https://www.codacy.com/gh/TobenderZephyr/dsabot/dashboard?utm_source=github.com&utm_medium=referral&utm_content=TobenderZephyr/dsabot&utm_campaign=Badge_Grade) [![Codacy Badge](https://app.codacy.com/project/badge/Coverage/e7dfc961c9eb481185468cc59b22fdfa)](https://www.codacy.com/gh/TobenderZephyr/dsabot/dashboard?utm_source=github.com&utm_medium=referral&utm_content=TobenderZephyr/dsabot&utm_campaign=Badge_Coverage) This Project is a fork of LucaSchwan/dsa-bot. diff --git a/package.json b/package.json index efde1e7..eb1d64a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dsabot", - "version": "1.6.2", + "version": "1.6.5", "description": "", "main": "index.js", "scripts": {