diff --git a/.github/scripts/release_pr.sh b/.github/scripts/release_pr.sh index 521f61e8..ed372af8 100755 --- a/.github/scripts/release_pr.sh +++ b/.github/scripts/release_pr.sh @@ -20,7 +20,8 @@ gh api -X POST /repos/solarwinds/apm-python/git/refs \ # Get SHA of current version.py at main SHA=$(gh api /repos/solarwinds/apm-python/contents/solarwinds_apm/version.py?ref="main" --jq '.sha') -content=$(base64 <<< "__version__ = \"$version_number\"\n") +newline=$'\n' +content=$(base64 <<< "__version__ = \"$version_number\"$newline") # Commit version.py with updated agent version echo "Pushing new version.py to branch '$branch_name'" diff --git a/CHANGELOG.md b/CHANGELOG.md index 292c66bb..849f8cf1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased](https://github.com/solarwinds/apm-python/compare/rel-1.3.0...HEAD) -## [1.3.0.0](https://github.com/solarwinds/apm-python/releases/tag/rel-1.3.0) - 2024-02-20 +## [1.3.0](https://github.com/solarwinds/apm-python/releases/tag/rel-1.3.0) - 2024-02-20 ### Changed - Fixed release_pr script ([#302](https://github.com/solarwinds/apm-python/pull/302)) diff --git a/solarwinds_apm/version.py b/solarwinds_apm/version.py index 79cac1d6..67bc602a 100644 --- a/solarwinds_apm/version.py +++ b/solarwinds_apm/version.py @@ -1 +1 @@ -__version__ = "1.3.0.0" +__version__ = "1.3.0"