Skip to content

Commit

Permalink
Update dev-version number generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed Mar 4, 2021
1 parent c03b51e commit c860dbe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/release
Expand Up @@ -39,6 +39,8 @@ git commit -a --no-verify -m "Bump version"
git tag -a "$new" -m "v$new"
log.info "Commit tagged as v$new"

log.info "Patch files to version '${new}.dev0'..."
sed -i -E "s/(^VERSION = \")[^\"]*/\\1${new}.dev0/" ${const_path}
dev="$(echo "${new}" | awk -F. '/[0-9]+\./{$NF++;print}' OFS=.).dev0"

log.info "Patch files to version '${dev}'..."
sed -i -E "s/(^VERSION = \")[^\"]*/\\1${dev}/" ${const_path}
./bin/update_manifest

0 comments on commit c860dbe

Please sign in to comment.