Skip to content

Commit

Permalink
remove push source from release script and display github.ref
Browse files Browse the repository at this point in the history
  • Loading branch information
cbusillo committed Jun 13, 2024
1 parent 31668bd commit b12e023
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/briefcase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
id: get_commit_messages
run: |
git fetch --tags
echo "github.ref: ${{ github.ref }}
if [ "${{ github.ref }}" = "refs/heads/prerelease" ]; then
LAST_TAG=$(git ls-remote --tags --refs --sort="v:refname" | tail -n1 | sed 's/.*\///; s/\^{}//' 2>/dev/null || git rev-list --max-parents=0 HEAD)
else
Expand Down
3 changes: 1 addition & 2 deletions push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ git merge "$SOURCE_BRANCH" -m "merge $SOURCE_BRANCH into $DESTINATION_BRANCH"
git push
git checkout "$SOURCE_BRANCH"
git pull origin "$SOURCE_BRANCH"
git merge "$DESTINATION_BRANCH" -m "merge $DESTINATION_BRANCH into $SOURCE_BRANCH"
git push
git merge "$DESTINATION_BRANCH" -m "merge $DESTINATION_BRANCH into $SOURCE_BRANCH"git push

0 comments on commit b12e023

Please sign in to comment.