Skip to content

Commit 0bf81b4

Browse files
authored
Merge pull request #29 from sourcefuse/ARC-620
removed .version and updated tag.yaml
2 parents 6518c1f + af96bf0 commit 0bf81b4

File tree

4 files changed

+22
-21
lines changed

4 files changed

+22
-21
lines changed

.github/workflows/tag.yml

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,17 @@
11
---
2-
name: Tag
3-
4-
on: # yamllint disable-line rule:truthy
2+
name: Bump version
3+
on: # yamllint disable-line rule:truthy
54
push:
65
branches:
76
- main
8-
97
jobs:
10-
## tag
11-
tag:
8+
build:
129
runs-on: ubuntu-latest
1310
steps:
14-
- uses: actions/checkout@v2
15-
16-
- name: Set GIT_TAG
17-
run: |
18-
echo "VERSION=$(cat .version | tr -d " \t\n\r")" >> $GITHUB_ENV
19-
20-
- name: git-tag
21-
uses: pkgdeps/git-tag-action@v2.0.1
22-
with:
23-
version: ${{ env.VERSION }}
24-
github_token: ${{ secrets.GITHUB_TOKEN }}
25-
github_repo: ${{ github.repository }}
26-
git_commit_sha: ${{ github.sha }}
27-
git_tag_prefix: ""
11+
- uses: actions/checkout@master
12+
- name: Bump version and push tag
13+
uses: anothrNick/github-tag-action@master
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
DEFAULT_BUMP: patch
17+
REPO_OWNER: sourcefuse

.version

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,17 @@ the pipeline will kick off and tag the latest git commit.
205205
pre-commit install
206206
```
207207

208+
### Git commits
209+
210+
while Contributing or doing git commit please specify the breaking change in your commit message whether its major,minor or patch
211+
212+
For Example
213+
214+
```sh
215+
git commit -m "your commit message #major"
216+
```
217+
By specifying this , it will bump the version and if you dont specify this in your commit message then by default it will consider patch and will bump that accordingly
218+
208219
### Tests
209220
- Tests are available in `test` directory
210221
- Configure the dependencies

example/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Example demonstrating how to use terraform-aws-refarch-ecs.
3030

3131
| Name | Type |
3232
|------|------|
33+
| [aws_route53_zone.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/route53_zone) | data source |
3334
| [aws_subnets.private](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnets) | data source |
3435
| [aws_subnets.public](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnets) | data source |
3536
| [aws_vpc.vpc](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc) | data source |

0 commit comments

Comments
 (0)