diff --git a/Configurations/ConfigCommon.xcconfig b/Configurations/ConfigCommon.xcconfig index 2a5e46ff..e15fd6df 100644 --- a/Configurations/ConfigCommon.xcconfig +++ b/Configurations/ConfigCommon.xcconfig @@ -18,7 +18,7 @@ SPARKLE_NORMALIZE_INSTALLED_APPLICATION_NAME = 0 SPARKLE_VERSION_MAJOR = 1 SPARKLE_VERSION_MINOR = 25 SPARKLE_VERSION_PATCH = 0 -SPARKLE_VERSION = $(SPARKLE_VERSION_MAJOR).$(SPARKLE_VERSION_MINOR).$(SPARKLE_VERSION_PATCH) +SPARKLE_VERSION = $(SPARKLE_VERSION_MAJOR).$(SPARKLE_VERSION_MINOR).$(SPARKLE_VERSION_PATCH)-rc2 CURRENT_PROJECT_VERSION = $(SPARKLE_VERSION) ALWAYS_SEARCH_USER_PATHS = NO diff --git a/Configurations/release-move-tag.sh b/Configurations/release-move-tag.sh index 7a5edbcb..6a64a03b 100755 --- a/Configurations/release-move-tag.sh +++ b/Configurations/release-move-tag.sh @@ -2,7 +2,7 @@ set -e # Convenience script to automatically commit Package.swift after updating the checksum and move the latest tag -latest_git_tag=$(git describe --abbrev=0) # gets the latest tag name +latest_git_tag=$(git describe --abbrev=0 --tags) # gets the latest tag name commits_since_tag=$(git rev-list ${latest_git_tag}.. --count) if [ "$commits_since_tag" -gt 0 ]; then # If there have been commits since the latest tag, it's highly likely that we did not intend to do a full release @@ -15,12 +15,9 @@ else if [[ $REPLY =~ ^[Nn]$ ]]; then echo "Package.swift has not been committed and tag has not been moved." else - long_message=$(git tag -n99 -l $latest_git_tag) # gets corresponding message - long_message=${long_message/$latest_git_tag} # trims tag name - long_message="$(echo -e "${long_message}" | sed -e 's/^[[:space:]]*//')" # trim leading whitespace git add Package.swift git commit -m "Update Package.swift" - git tag -fa $latest_git_tag -m "${long_message}" + git tag -f $latest_git_tag echo "Package.swift committed and tag '$latest_git_tag' moved." fi fi diff --git a/Sparkle.podspec b/Sparkle.podspec index a84400c3..72a8ffeb 100644 --- a/Sparkle.podspec +++ b/Sparkle.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Sparkle" - s.version = "1.25.0" + s.version = "1.25.0-rc2" s.summary = "A software update framework for macOS" s.description = "Sparkle is an easy-to-use software update framework for Cocoa developers." s.homepage = "http://sparkle-project.org"