Skip to content

Commit

Permalink
dbld: bump version in README and Alpine packaging
Browse files Browse the repository at this point in the history
Signed-off-by: László Várady <[email protected]>
  • Loading branch information
MrAnno committed May 17, 2024
1 parent f378710 commit b76616a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dbld/prepare-release
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ function update_packaging_rhel() {

function update_version_refs_in_source() {
echo Updating version references in source files
ESCAPED_OLD_MAJOR_AND_MINOR_AND_PATCH=$(echo $OLD_MAJOR.$OLD_MINOR.$OLD_PATCH | sed -e 's/[]\/$*.^[]/\\&/g') &&
ESCAPED_NEW_MAJOR_AND_MINOR_AND_PATCH=$(echo $NEW_MAJOR.$NEW_MINOR.$NEW_PATCH | sed -e 's/[\/&]/\\&/g') &&
git ls-files README.md docker/apkbuild/axoflow/axosyslog/APKBUILD | xargs sed -i "s/$ESCAPED_OLD_MAJOR_AND_MINOR_AND_PATCH/$ESCAPED_NEW_MAJOR_AND_MINOR_AND_PATCH/g"

ESCAPED_OLD_MAJOR_AND_MINOR=$(echo $OLD_MAJOR.$OLD_MINOR | sed -e 's/[]\/$*.^[]/\\&/g') &&
ESCAPED_NEW_MAJOR_AND_MINOR=$(echo $NEW_MAJOR.$NEW_MINOR | sed -e 's/[\/&]/\\&/g') &&
git ls-files $VERSION_FILE_LIST | xargs sed -i "s/$ESCAPED_OLD_MAJOR_AND_MINOR/$ESCAPED_NEW_MAJOR_AND_MINOR/g"
Expand Down

0 comments on commit b76616a

Please sign in to comment.