Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/release-maven-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ jobs:

- name: Step 6 - Publish package
run: |
mvn -B --no-transfer-progress -Dmaven.test.skip=true -Drevision=${{ steps.gitversion.outputs.semVer }} deploy
mvn -B --no-transfer-progress \
versions:set \
-DnewVersion=${{ steps.gitversion.outputs.semVer }} \
-DgenerateBackupPoms=false \
-DprocessAllModules
mvn -B --no-transfer-progress -Dmaven.test.skip=true deploy
env:
MVN_CENTRAL_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MVN_CENTRAL_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
Expand Down
10 changes: 8 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.aquality-automation</groupId>
<artifactId>aquality-appium-mobile</artifactId>
<version>${revision}</version>
<version>5.4.1</version>

<packaging>jar</packaging>
<name>Aquality Appium Mobile</name>
Expand All @@ -16,7 +16,6 @@
<properties>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<revision>5.3.1</revision>
</properties>

<scm>
Expand Down Expand Up @@ -61,6 +60,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.14.0</version>
<configuration>
<source>11</source>
<target>11</target>
Expand Down Expand Up @@ -97,6 +97,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.7.1</version>
<executions>
<execution>
<goals>
Expand Down Expand Up @@ -171,6 +172,11 @@
<waitUntil>published</waitUntil>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.18.0</version>
</plugin>
</plugins>
</build>

Expand Down
Loading