Andrea MH commited on
Commit
1df19d7
·
unverified ·
1 Parent(s): 3efa0ba

Update release_to_public.yml

Browse files
.github/workflows/release_to_public.yml CHANGED
@@ -67,7 +67,8 @@ jobs:
67
  echo "latest_tag=$LATEST_TAG" >> $GITHUB_ENV # Store in an environment variable
68
 
69
  # Checkout the current branch from the current repository
70
- git checkout -b temp-branch current-repo/$GITHUB_REF_NAME # Create a new branch based on the current repo's branch
 
71
 
72
  # Step 5: Merge the target repository's main into the temporary branch
73
  - name: Merge target repository's main into temp branch
 
67
  echo "latest_tag=$LATEST_TAG" >> $GITHUB_ENV # Store in an environment variable
68
 
69
  # Checkout the current branch from the current repository
70
+ # git checkout -b temp-branch current-repo/$GITHUB_REF_NAME # Create a new branch based on the current repo's branch
71
+ git checkout -b temp-branch tags/$LATEST_TAG # Create a new branch based on the latest tag
72
 
73
  # Step 5: Merge the target repository's main into the temporary branch
74
  - name: Merge target repository's main into temp branch