Skip to content

Commit 32e33e0

Browse files
committed
create branch and tag in one command
1 parent fa06673 commit 32e33e0

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎.github/workflows/create_version.yml‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,9 @@ jobs:
1616
token: ${{ secrets.T8DDY_TOKEN }}
1717
fetch-depth: 0
1818
#create a new branch for the version tag
19-
- name: Create new branch
20-
run: |
21-
git checkout -b new_version_4.0.0-$(date +'%Y.%m.%d')
22-
2319
- name: Create version tag
2420
run: |
21+
git checkout -b new_version_4.0.0-$(date +'%Y.%m.%d')
2522
git config user.email "t8ddy.bot@gmail.com"
2623
git config user.name "t8ddy"
2724
git tag "v4.0.0-$(date +'%Y.%m.%d')"

0 commit comments

Comments
 (0)