Skip to content

Commit

Permalink
Update publish_github_release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
AgnesToulet committed Oct 10, 2024
1 parent 84379b1 commit ee17d7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/publish_github_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ git config user.name "Drone Automation"

echo "Pushing tag v${VERSION}..."
git tag v"${VERSION}"
git push "https://${GITHUB_TOKEN}@github.com/grafana/grafana-image-renderer.git" v"${VERSION}"
git push "https://${GITHUB_APP_ID}:${GITHUB_TOKEN}@github.com/grafana/grafana-image-renderer.git" v"${VERSION}"

echo "Pushing multiple artifacts to release v${VERSION}..."
ghr \
-draft \ # Create a draft release FOR TESTING
-replace \ # Replace the release if it already exists FOR TESTING
-draft \
-replace \
-u "${DRONE_REPO_OWNER}" \
-r "${DRONE_REPO_NAME}" \
-c "${DRONE_COMMIT_SHA}" \
Expand Down

0 comments on commit ee17d7f

Please sign in to comment.