|
| 1 | +#!/bin/bash |
| 2 | + |
| 3 | + |
| 4 | +# |
| 5 | +# Copyright (C) 2021 Rick Busarow |
| 6 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | +# you may not use this file except in compliance with the License. |
| 8 | +# You may obtain a copy of the License at |
| 9 | +# |
| 10 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +# |
| 12 | +# Unless required by applicable law or agreed to in writing, software |
| 13 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | +# See the License for the specific language governing permissions and |
| 16 | +# limitations under the License. |
| 17 | +# |
| 18 | + |
| 19 | +# Publish Maven release |
| 20 | +./gradlew publish --no-daemon --no-parallel |
| 21 | + |
| 22 | +# Close Maven release |
| 23 | +./gradlew closeAndReleaseRepository --no-daemon --no-parallel |
| 24 | + |
| 25 | +# Publish to Gradle Plugin Portal |
| 26 | +./gradlew publishPlugins |
| 27 | + |
| 28 | +# Create new website docs version |
| 29 | +./gradlew versionDocs |
| 30 | + |
| 31 | +# Set all versions in the root README to the new version |
| 32 | +./gradlew updateProjectReadmeVersionRefs |
| 33 | + |
| 34 | +echo |
| 35 | +echo ' ___ _ _ ___ ___ ___ ___ ___' |
| 36 | +echo '/ __| | | |/ __/ __/ _ \/ __/ __|' |
| 37 | +echo '\__ \ |_| | (_| (_| __/\__ \__ \' |
| 38 | +echo '|___/\__,_|\___\___\___||___/___/' |
| 39 | +echo |
| 40 | +echo |
| 41 | +echo The release is done and a new docs version has been created for Docusaurus. |
| 42 | +echo |
| 43 | +echo These changes need to get merged into main and published. |
| 44 | +echo |
| 45 | +echo |
0 commit comments