Skip to content

Commit 36be05c

Browse files
committed
Update pom.xml
1 parent e39c071 commit 36be05c

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/gradle-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
arguments: publish
4343
env:
4444
USERNAME: ${{ github.actor }}
45-
TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
TOKEN: ${{ secrets.PACKAGE_TOKEN }}

.github/workflows/maven-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
- name: Publish to GitHub Packages Apache Maven
3232
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
3333
env:
34-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
GITHUB_TOKEN: ${{ secrets.PACKAGE_TOKEN }}

pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<url>https://github.com/mewebstudio/java-captcha-generator</url>
99
<groupId>com.mewebstudio</groupId>
1010
<artifactId>captcha</artifactId>
11-
<version>0.1.0-SNAPSHOT</version>
11+
<version>0.1.0</version>
1212

1313
<developers>
1414
<developer>
@@ -36,6 +36,12 @@
3636
<developerConnection>scm:git:git://github.com/mewebstudio/java-captcha-generator.git</developerConnection>
3737
</scm>
3838

39+
<profiles>
40+
<profile>
41+
<id>release</id>
42+
</profile>
43+
</profiles>
44+
3945
<properties>
4046
<maven.compiler.source>1.8</maven.compiler.source>
4147
<junit.jupiter.version>5.10.0</junit.jupiter.version>

0 commit comments

Comments
 (0)