diff --git a/.github/workflows/attach-artifact-release.yml b/.github/workflows/attach-artifact-release.yml
index 84a9740..88d6bd2 100644
--- a/.github/workflows/attach-artifact-release.yml
+++ b/.github/workflows/attach-artifact-release.yml
@@ -6,79 +6,7 @@ on:
- closed
jobs:
- attach-to-release:
- name: Attach Artifact to Release
- if: github.event.pull_request.merged == true
- runs-on: ubuntu-latest
- steps:
- - run: sleep 30
- - uses: actions/checkout@v3
-
- - name: Set up JDK 17
- uses: actions/setup-java@v3
- with:
- java-version: 17
- distribution: 'temurin'
- cache: 'maven'
-
- - name: Get Reusable Script Files
- run: |
- curl -o $PWD/.github/get_draft_release.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.4.2/.github/get_draft_release.sh
- curl -o $PWD/.github/sign_artifact.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.4.2/.github/sign_artifact.sh
- chmod +x $PWD/.github/get_draft_release.sh
- chmod +x $PWD/.github/sign_artifact.sh
- chmod +x $PWD/.github/upload_asset.sh
-
- - name: Configure Git
- run: |
- git config user.name "liquibot"
- git config user.email "liquibot@liquibase.org"
-
- - name: Build release artifacts
- id: build-release-artifacts
- run: |
- mvn -B release:clean release:prepare -Dusername=liquibot -Dpassword=$GITHUB_TOKEN -Darguments="-Dmaven.javadoc.skip=true -Dmaven.test.skipTests=true -Dmaven.test.skip=true -Dmaven.deploy.skip=true" -DreleaseVersion=${{ github.event.inputs.liquibaseVersion }} -DpushChanges=false
- git reset HEAD~ --hard
- mvn clean install -DskipTests
-
- - name: Get Artifact ID
- id: get-artifact-id
- run: echo "artifact_id=$(mvn help:evaluate -Dexpression=project.artifactId -q -DforceStdout)" >> $GITHUB_ENV
-
- - name: Get Release Tag
- id: get-release-tag
- run: echo "release_tag=$(./.github/get_draft_release.sh TAG)" >> $GITHUB_ENV
- env:
- GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
-
- - name: Delete Outdated Files from Draft Release
- id: delete-outdated-release-asset
- uses: mknejp/delete-release-assets@v1
- with:
- token: ${{ secrets.BOT_TOKEN }}
- tag: ${{ env.release_tag }}
- fail-if-no-assets: false
- fail-if-no-release: false
- assets: '*.*'
-
- - name: Import GPG key
- id: import_gpg
- uses: crazy-max/ghaction-import-gpg@v5
- with:
- gpg_private_key: ${{ secrets.GPG_SECRET }}
- passphrase: ${{ secrets.GPG_PASSPHRASE }}
-
- - name: Sign Files for Draft Release
- run: |
- gpg -K
- version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
- ./.github/sign_artifact.sh ./target/${{ env.artifact_id }}-${version}.pom
-
- - name: Attach Files to Draft Release
- id: upload-release-asset
- run: ./.github/upload_asset.sh $(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
- env:
- GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
- ASSET_NAME_PREFIX: "${{ env.artifact_id }}-"
- ASSET_DIR: ./target
+ attach-artifact-to-release:
+ uses: liquibase/build-logic/.github/workflows/extension-attach-artifact-release.yml@v0.4.2
+ secrets: inherit
\ No newline at end of file
diff --git a/.github/workflows/release-published.yml b/.github/workflows/release-published.yml
index 6fcb66b..caf383f 100644
--- a/.github/workflows/release-published.yml
+++ b/.github/workflows/release-published.yml
@@ -11,5 +11,5 @@ permissions:
jobs:
release:
- uses: liquibase/build-logic/.github/workflows/pom-release-published.yml@DAT-15505
+ uses: liquibase/build-logic/.github/workflows/extension-release-published.yml@v0.4.2
secrets: inherit
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 40935ea..ce6981d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
org.liquibase
liquibase-parent-pom
Parent POM
- 0.6.0-SNAPSHOT
+ 0.1.0-SNAPSHOT
Parent POM for all Extensions
https://github.com/liquibase/liquibase-parent-pom
pom
@@ -25,6 +25,19 @@
http://www.liquibase.org
+
+
+ nvoxland
+ Nathan Voxland
+ nathan.voxland@liquibase.org
+
+ architect
+ developer
+
+ -6
+
+
+
1.8