From bac7b0eb787fd5b05a79e306ce4322ea93ba4905 Mon Sep 17 00:00:00 2001 From: cw-amitsingh <51703039+cw-amitsingh@users.noreply.github.com> Date: Sat, 5 Dec 2020 23:31:25 +0530 Subject: [PATCH] Major release with doc --- README.md | 19 +++++++------------ action.yml | 2 +- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 04f7624..f84cdbc 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ # Generate Next Release Tag -GitHub action to automate the process of creating the next release tag for your repository. -This action will set a ENV variable named `next_release_version` which can then be used to create release. -This action uses the prev release tag an increments over it. -Template of release tag will be: `yy.mm.v`, where yy=year, mm=month, v=version. -For example, third release in December 2020 will be: `20.12.3` +- GitHub action to automate the process of creating the next release tag for your repository. +- This action will set a ENV variable named `next_release_version` which can then be used to create release. +- This action uses the prev release tag an increments over it. +- Template of release tag will be: `vyy.mm.i`, where yy=year, mm=month, i=iteration. +- For example, third release in December 2020 will be: `v20.12.3` ## Inputs -None +github_token: Github Secret `GITHUB_TOKEN` or `Personal Access Token` must be passed ## Outputs @@ -29,13 +29,8 @@ jobs: - name: Checkout branch uses: actions/checkout@v2 - - name: Authorizing Github action - with: - token: "${{ secrets.GITHUB_TOKEN }}" - uses: oleksiyrudenko/gha-git-credentials@v1 - - name: Generate release tag - uses: amitsingh-007/next-release-tag@vlatest + uses: amitsingh-007/next-release-tag@v with: github_token: ${{ secrets.GITHUB_TOKEN }} ``` diff --git a/action.yml b/action.yml index 22a7f75..cb8ea6a 100644 --- a/action.yml +++ b/action.yml @@ -2,7 +2,7 @@ name: "Auto Generate Next Release Tag" description: "Automatically generate next release tag incrementally with date/month/year and based on previous tag." author: "amitsingh-007" branding: - color: "purple" + color: "red" icon: "tag" inputs: