Skip to content

Commit

Permalink
chore(release-published.yml): update pom.xml versions to match the cu… (
Browse files Browse the repository at this point in the history
#5206)

* update master with changes from release branch (#5192)

* generate deployment ID for all update family, and mark-next-changeset-ran commands (DAT-16240) (#5185)

* Invoke database.commit only if needed (#5182)

Only calls database.commit if we did something, otherwise we are will be calling it for no reason and in cloud databases it means a lot of trouble.

* Update changelog.txt

---------

Co-authored-by: filipe <flautert@liquibase.org>
Co-authored-by: rberezen <ruslan.berezenskyi@gmail.com>

* chore(release-published.yml): update pom.xml versions to match the current version to ensure consistency in the release artifacts

---------

Co-authored-by: Steven Massaro <steven.massaro.web@gmail.com>
Co-authored-by: filipe <flautert@liquibase.org>
Co-authored-by: rberezen <ruslan.berezenskyi@gmail.com>
  • Loading branch information
4 people committed Nov 14, 2023
1 parent 4c990c9 commit bebc06b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release-published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,24 +91,29 @@ jobs:
##extracts and sign poms
unzip -j liquibase-core-${version}.jar META-INF/maven/org.liquibase/liquibase-core/pom.xml
sed -i 's/<version>release-SNAPSHOT<\/version>/<version>${version}<\/version>/' pom.xml
mv pom.xml liquibase-core-${version}.pom
gpg --batch --pinentry-mode=loopback --passphrase "$GPG_PASSWORD" -ab liquibase-core-${version}.pom
unzip -j liquibase-maven-plugin-${version}.jar META-INF/maven/org.liquibase/liquibase-maven-plugin/pom.xml
sed -i 's/<version>release-SNAPSHOT<\/version>/<version>${version}<\/version>/' pom.xml
mv pom.xml liquibase-maven-plugin-${version}.pom
gpg --batch --pinentry-mode=loopback --passphrase "$GPG_PASSWORD" -ab liquibase-maven-plugin-${version}.pom
unzip -j liquibase-cdi-${version}.jar META-INF/maven/org.liquibase/liquibase-cdi/pom.xml
sed -i 's/<version>release-SNAPSHOT<\/version>/<version>${version}<\/version>/' pom.xml
mv pom.xml liquibase-cdi-${version}.pom
sed -i -e "s/<description>/<name>Liquibase CDI Plugin<\/name><description>/" liquibase-cdi-${version}.pom ## name didn't end up in pom. Hack it in for now
gpg --batch --pinentry-mode=loopback --passphrase "$GPG_PASSWORD" -ab liquibase-cdi-${version}.pom
unzip -j liquibase-cdi-jakarta-${version}.jar META-INF/maven/org.liquibase/liquibase-cdi-jakarta/pom.xml
sed -i 's/<version>release-SNAPSHOT<\/version>/<version>${version}<\/version>/' pom.xml
mv pom.xml liquibase-cdi-jakarta-${version}.pom
sed -i -e "s/<description>/<name>Liquibase cdi-jakarta Plugin<\/name><description>/" liquibase-cdi-jakarta-${version}.pom ## name didn't end up in pom. Hack it in for now
gpg --batch --pinentry-mode=loopback --passphrase "$GPG_PASSWORD" -ab liquibase-cdi-jakarta-${version}.pom
unzip -j liquibase-commercial-${version}.jar META-INF/maven/org.liquibase/liquibase-commercial/pom.xml
sed -i 's/<version>release-SNAPSHOT<\/version>/<version>${version}<\/version>/' pom.xml
mv pom.xml liquibase-commercial-${version}.pom
sed -i -e "s/<\/licenses>/<\/licenses><scm><connection>private<\/connection><developerConnection>private<\/developerConnection><url>private<\/url><\/scm>/" liquibase-commercial-${version}.pom ## scm info not in the pom
gpg --batch --pinentry-mode=loopback --passphrase "$GPG_PASSWORD" -ab liquibase-commercial-${version}.pom
Expand Down

0 comments on commit bebc06b

Please sign in to comment.