diff --git a/MODULE.bazel b/MODULE.bazel index f0f1dce84..24cc658fb 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1,6 +1,6 @@ module( name = "periphery", - version = "0.0.0", + version = "3.0.0.beta6", compatibility_level = 1, ) diff --git a/Sources/Frontend/Version.swift b/Sources/Frontend/Version.swift index 8abd88019..2dfc26bc1 100644 --- a/Sources/Frontend/Version.swift +++ b/Sources/Frontend/Version.swift @@ -1 +1 @@ -let PeripheryVersion = "3.0.0.beta5" +let PeripheryVersion = "3.0.0.beta6" diff --git a/scripts/release b/scripts/release index f6a67ddf7..c5348cc1d 100755 --- a/scripts/release +++ b/scripts/release @@ -40,6 +40,9 @@ mkdir .release cat scripts/Version.swift.template | sed s/__VERSION__/${version}/ > Sources/Frontend/Version.swift cat scripts/artifactbundle_info.json.template | sed s/__VERSION__/${version}/ > .release/info.json +cat MODULE.bazel | sed s/0.0.0/${version}/ > MODULE.bazel.new +rm MODULE.bazel +mv MODULE.bazel.new MODULE.bazel echo -e "\nUpdate CHANGELOG.md" confirm "Continue?" @@ -55,7 +58,6 @@ cp LICENSE.md MODULE.bazel BUILD.bazel .release/ cp -R bazel Sources .release/ rm -r .release/bazel/dev cp scripts/release_notes.md.template .release/release_notes.md -cat .release/MODULE.bazel | sed s/version = "0.0.0"/version = "${version}"/ > .release/MODULE.bazel confirm "\nContinue?" @@ -87,7 +89,6 @@ codesign "${bazel_zip_filename}" # Notarize notarize "${zip_filename}" notarize "${zip_artifactbundle}" -notarize "${bazel_zip_filename}" echo -e "\nVerify changes" confirm "Continue?"