Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Fixing commit duplicate in the release script #829

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions aws/logs_monitoring/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,7 @@ prod_release() {
log_info "Uploading layers..."
./tools/publish_prod.sh "${LAYER_VERSION}" "${FORWARDER_VERSION}"

log_info "Committing version number change..."
git add "settings.py" "template.yaml"
git commit --signoff --message "ci(release): Update version from ${CURRENT_VERSION} to ${FORWARDER_VERSION}"
log_info "Pushing version number change..."
git push origin master

# Create a GitHub release
Expand Down Expand Up @@ -266,4 +264,5 @@ log_success "Forwarder release process complete!"

if [[ ${ACCOUNT} == "prod" ]]; then
log_info "Don't forget to add release notes in GitHub!"
log_info "\thttps://github.com/DataDog/datadog-serverless-functions/releases"
fi
Loading