Skip to content

Commit

Permalink
Release try
Browse files Browse the repository at this point in the history
  • Loading branch information
krystian-panek-vmltech committed Feb 13, 2023
1 parent e8c52a6 commit 8b1e4b4
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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 }}
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<groupId>com.neva.felix</groupId>
<artifactId>search-webconsole-plugin</artifactId>
<packaging>bundle</packaging>
<version>1.3.1-jd-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
<name>search-webconsole-plugin</name>
<description>Search everywhere plugin for Apache Felix Web Console</description>
<inceptionYear>2017</inceptionYear>
Expand All @@ -32,7 +32,7 @@
<url>https://github.com/neva-dev/felix-search-webconsole-plugin</url>
<connection>scm:git:ssh://[email protected]/neva-dev/felix-search-webconsole-plugin.git</connection>
<developerConnection>scm:git:ssh://[email protected]/neva-dev/felix-search-webconsole-plugin.git</developerConnection>
<tag>search-webconsole-plugin-1.1.0</tag>
<tag>HEAD</tag>
</scm>

<licenses>
Expand All @@ -58,9 +58,9 @@

<distributionManagement>
<repository>
<id>bintray-neva-dev-maven-public</id>
<name>neva-dev-maven-public</name>
<url>https://api.bintray.com/maven/neva-dev/maven-public/felix-search-webconsole-plugin/;publish=1;override=1</url>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/neva-dev/felix-search-webconsole-plugin</url>
</repository>
</distributionManagement>

Expand Down Expand Up @@ -109,7 +109,7 @@
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<version>4.2.0</version>
<version>5.1.7</version>
<configuration>
<instructions>
<Bundle-Name>Apache Felix Web Console Search Plugin</Bundle-Name>
Expand Down

0 comments on commit 8b1e4b4

Please sign in to comment.