Skip to content

Commit

Permalink
Remove metalava update from release script
Browse files Browse the repository at this point in the history
  • Loading branch information
MiSikora committed May 4, 2021
1 parent d89ec8c commit 19e24be
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ sed -i "" "s/$currentVersion/$newVersion/g" $indexFile
readmeFile="./README.md"
sed -i "" "s/$currentVersion/$newVersion/g" $readmeFile

# Generate Metalava release API
./gradlew createFullJarRelease metalavaGenerateSignature

git add . &> /dev/null
git commit -am "Prepare for release $newVersion" &> /dev/null
git tag -a "$newVersion" -m "Version $newVersion" &> /dev/null
Expand All @@ -86,9 +83,6 @@ newPatch="$(cut -d"." -f3 <<<"$newVersion")"
newSnapshotVersion="$newMajor.$newMinor.$((newPatch + 1))-SNAPSHOT"
sed -i "" "s/.*$versionNameKey.*/$versionNameKey=$newSnapshotVersion/g" $propertiesFile

# Generate Metalava snapshot API
./gradlew createFullJarRelease metalavaGenerateSignature

git add . &> /dev/null
git commit -am "Prepare next development version" &> /dev/null

Expand Down

0 comments on commit 19e24be

Please sign in to comment.