Skip to content

Commit

Permalink
latest release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Devendraappa authored Dec 13, 2024
1 parent f886ad4 commit 3ab8bf4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit 3ab8bf4

Please sign in to comment.