Skip to content

Commit 8b1e4b4

Browse files
Release try
1 parent e8c52a6 commit 8b1e4b4

File tree

2 files changed

+26
-6
lines changed

2 files changed

+26
-6
lines changed

.github/workflows/release.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Publish package to GitHub Packages
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
10+
packages: write
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-java@v3
14+
with:
15+
java-version: '11'
16+
distribution: 'adopt'
17+
- name: Publish package
18+
run: mvn --batch-mode deploy
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pom.xml

+6-6
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<groupId>com.neva.felix</groupId>
2424
<artifactId>search-webconsole-plugin</artifactId>
2525
<packaging>bundle</packaging>
26-
<version>1.3.1-jd-SNAPSHOT</version>
26+
<version>2.0.0-SNAPSHOT</version>
2727
<name>search-webconsole-plugin</name>
2828
<description>Search everywhere plugin for Apache Felix Web Console</description>
2929
<inceptionYear>2017</inceptionYear>
@@ -32,7 +32,7 @@
3232
<url>https://github.com/neva-dev/felix-search-webconsole-plugin</url>
3333
<connection>scm:git:ssh://[email protected]/neva-dev/felix-search-webconsole-plugin.git</connection>
3434
<developerConnection>scm:git:ssh://[email protected]/neva-dev/felix-search-webconsole-plugin.git</developerConnection>
35-
<tag>search-webconsole-plugin-1.1.0</tag>
35+
<tag>HEAD</tag>
3636
</scm>
3737

3838
<licenses>
@@ -58,9 +58,9 @@
5858

5959
<distributionManagement>
6060
<repository>
61-
<id>bintray-neva-dev-maven-public</id>
62-
<name>neva-dev-maven-public</name>
63-
<url>https://api.bintray.com/maven/neva-dev/maven-public/felix-search-webconsole-plugin/;publish=1;override=1</url>
61+
<id>github</id>
62+
<name>GitHub Packages</name>
63+
<url>https://maven.pkg.github.com/neva-dev/felix-search-webconsole-plugin</url>
6464
</repository>
6565
</distributionManagement>
6666

@@ -109,7 +109,7 @@
109109
<groupId>org.apache.felix</groupId>
110110
<artifactId>maven-bundle-plugin</artifactId>
111111
<extensions>true</extensions>
112-
<version>4.2.0</version>
112+
<version>5.1.7</version>
113113
<configuration>
114114
<instructions>
115115
<Bundle-Name>Apache Felix Web Console Search Plugin</Bundle-Name>

0 commit comments

Comments
 (0)