Skip to content

Commit

Permalink
Adding package publish
Browse files Browse the repository at this point in the history
  • Loading branch information
kebernet committed Apr 21, 2024
1 parent 4ec34d7 commit d29ac59
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 30 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -262,5 +262,5 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
run: |
mkdir -p ~/.m2
echo "<settings><servers><server><id>gh</id><username>${{secrets.MAVEN_USER}}</username><password>${{secrets.MAVEN_TOKEN}}</password></server></servers></settings>" > ~/.m2/settings.xml
./mvnw deploy -DaltReleaseDeploymentRepository="${REPO}" -DaltSnapshotDeploymentRepository="${REPO}"
echo "<settings><servers><server><id>gh</id><username>${{secrets.MAVEN_USER}}</username><password>${{secrets.MAVEN_TOKEN}}</password></server></servers></settings>" > settings.xml
./mvnw -s ./settings.xml deploy
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Mac:
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdkman env
brew install makensis
brew install makensis
```

Build
Expand Down
27 changes: 0 additions & 27 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -234,28 +234,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.1.1</version>
<executions>
<execution>
<id>sha256</id>
<goals>
<goal>exec</goal>
</goals>
<phase>pre-integration-test</phase>
<configuration>
<executable>bash</executable>
<workingDirectory>${project.build.directory}</workingDirectory>
<arguments>
<argument>-c</argument>
<argument>sha256sum ${project.artifactId}-${project.version}*.* &gt;&gt; ${project.artifactId}-${project.version}-hashes.txt</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
Expand Down Expand Up @@ -289,11 +267,6 @@
<type>exe</type>
<classifier>installer</classifier>
</artifact>
<artifact>
<file>${project.build.directory}/${project.artifactId}-${project.version}-hashes.txt</file>
<type>txt</type>
<classifier>hashes</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
Expand Down

0 comments on commit d29ac59

Please sign in to comment.