From 8b1e4b4d54fe0ab47b87cc5eeca2c230ccba1c62 Mon Sep 17 00:00:00 2001 From: Krystian Panek Date: Mon, 13 Feb 2023 11:15:53 +0100 Subject: [PATCH] Release try --- .github/workflows/release.yml | 20 ++++++++++++++++++++ pom.xml | 12 ++++++------ 2 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..2b51dda --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,20 @@ +name: Publish package to GitHub Packages +on: + release: + types: [created] +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'adopt' + - name: Publish package + run: mvn --batch-mode deploy + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/pom.xml b/pom.xml index ee455c8..a8460b8 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ com.neva.felix search-webconsole-plugin bundle - 1.3.1-jd-SNAPSHOT + 2.0.0-SNAPSHOT search-webconsole-plugin Search everywhere plugin for Apache Felix Web Console 2017 @@ -32,7 +32,7 @@ https://github.com/neva-dev/felix-search-webconsole-plugin scm:git:ssh://git@github.com/neva-dev/felix-search-webconsole-plugin.git scm:git:ssh://git@github.com/neva-dev/felix-search-webconsole-plugin.git - search-webconsole-plugin-1.1.0 + HEAD @@ -58,9 +58,9 @@ - bintray-neva-dev-maven-public - neva-dev-maven-public - https://api.bintray.com/maven/neva-dev/maven-public/felix-search-webconsole-plugin/;publish=1;override=1 + github + GitHub Packages + https://maven.pkg.github.com/neva-dev/felix-search-webconsole-plugin @@ -109,7 +109,7 @@ org.apache.felix maven-bundle-plugin true - 4.2.0 + 5.1.7 Apache Felix Web Console Search Plugin