Skip to content

Commit c179a1a

Browse files
authored
Merge pull request #134 from devlinjunker/patch-1.6.3
patch-1.6.3
2 parents 5ab0bda + 20835e8 commit c179a1a

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/main-on-merge.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
major: ${{ steps.version.outputs.major }}
4242
minor: ${{ steps.version.outputs.minor }}
4343
patch: ${{ steps.version.outputs.patch }}
44+
found: ${{ steps.version.check_exists.found }}
4445

4546
steps:
4647
- uses: actions/checkout@v2
@@ -69,9 +70,17 @@ jobs:
6970
env:
7071
CHANGELOG_PREFIX_LIST: "feature|feat|fix|bugfix|bug"
7172

73+
- name: "Check Release Exists"
74+
id: check_exists
75+
run: |
76+
echo "##[set-output name=found;]$(git tag | grep $RELEASE)
77+
env:
78+
RELEASE: v${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }}
79+
7280
- name: Create Github Release
7381
id: create_release
7482
uses: actions/create-release@v1
83+
if: steps.version.check_exists.found == ''
7584
env:
7685
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7786
with:
@@ -93,6 +102,7 @@ jobs:
93102
fetch-depth: 0
94103

95104
- name: Upmerge develop After Release
105+
if: needs.create-release-tag.outputs.found == ''
96106
run: |
97107
git config --global user.name 'Release Cut';
98108
git config --global user.email 'release@cut.com';

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
Version: 1.6.2
2+
Version: 1.6.3
33
---
44

55
<img align="right" width="100" height="140" src="https://github.com/devlinjunker/template.github.semver/raw/develop/img/logo-small.png" alt="semver template logo">

0 commit comments

Comments
 (0)