-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f886ad4
commit 3ab8bf4
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,13 @@ jobs: | |
- name: Checkout the repository | ||
uses: actions/checkout@v3 | ||
|
||
# Step 2: Get the pushed tag | ||
# Step 3: Set up Git for creating a new tag (before extracting tag name) | ||
- name: Set up Git for release | ||
run: | | ||
git config user.name "devendraappa" | ||
git config user.email "[email protected]" | ||
# Step 2: Get the pushed tag (extract the tag name) | ||
- name: Get the pushed tag | ||
id: get_tag | ||
run: | | ||
|
@@ -27,12 +33,6 @@ jobs: | |
echo "Tag that was pushed: $TAG_NAME" | ||
echo "::set-output name=tag_name::$TAG_NAME" # Set the tag name as output for use in the next step | ||
# Step 3: Set up Git for creating a new tag | ||
- name: Set up Git for release | ||
run: | | ||
git config user.name "devendraappa" | ||
git config user.email "[email protected]" | ||
# Step 4: Create a new tag using the pushed tag name + current date | ||
- name: Create a new tag with pushed tag + date | ||
id: create_tag | ||
|