Skip to content

Commit

Permalink
3123
Browse files Browse the repository at this point in the history
  • Loading branch information
mo3et committed Sep 27, 2024
1 parent 45217af commit bb9faa8
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/change-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update Version and Publish Draft Release
name: Update Version when tag Release

on:
release:
Expand Down Expand Up @@ -52,9 +52,9 @@ jobs:
git tag ${{ env.TAG_VERSION }}
git push origin ${{ env.TAG_VERSION }}
# Step 7: Wait for changes to propagate
- name: Wait for changes
run: sleep 20
# # Step 7: Wait for changes to propagate
# - name: Wait for changes
# run: sleep 20

# Step 8: Find and Publish Draft Release
- name: Find and Publish Draft Release
Expand All @@ -74,9 +74,6 @@ jobs:
);
if (draftRelease) {
// Print the URL of the draft release
core.info(`Found Draft Release: ${draftRelease.html_url}`);
// Publish the draft release using the release_id
await github.rest.repos.updateRelease({
owner: context.repo.owner,
Expand Down

0 comments on commit bb9faa8

Please sign in to comment.