Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
ci: fix release notes issue (#924)
Browse files Browse the repository at this point in the history
  • Loading branch information
niv1612 committed Apr 4, 2023
1 parent 8d6039d commit 84206fc
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions scripts/custom_changelog.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
#!/bin/bash
set -ex

git rev-parse --abbrev-ref HEAD # Show current branch
git status
git log -n 5 --format="%h" > latest5commits.txt
cat latest5commits.txt
git log -n 5 > latest5commits.txt
cat latest5commits.txt
git checkout main
git pull --unshallow
git status
git log -n 5 --format="%h" > latest5commits.txt
cat latest5commits.txt

latestCliReleaseFromGithub=$(curl --silent --header "Authorization: token ${GITHUB_TOKEN}" "https://api.github.com/repos/datreeio/datree/releases/latest")
# echo $latestCliReleaseFromGithub
Expand Down

0 comments on commit 84206fc

Please sign in to comment.