Skip to content

Commit

Permalink
Major release with doc
Browse files Browse the repository at this point in the history
  • Loading branch information
amitsingh-007 committed Dec 5, 2020
1 parent 923f0f1 commit bac7b0e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
19 changes: 7 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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<latest-version>
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
```
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bac7b0e

Please sign in to comment.