Skip to content

Commit

Permalink
fix: fix snapshot deployment (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
parzival-space authored Apr 3, 2023
1 parent 9c6aa3d commit a167b01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
run: |
mkdir -p ~/.m2
echo "<settings><servers><server><id> ${{ secrets.NEXUS_ID }}</id><username>${{ secrets.NEXUS_USER }}</username><password>${{ secrets.NEXUS_PASSWORD }}</password></server></servers></settings>" > ~/.m2/settings.xml
mvn versions:set -DnewVersion=${{ steps.version.outputs.version }}
export VERSION=$(echo "${{ steps.version.outputs.version }}" | sed 's/-SNAPSHOT.*/-SNAPSHOT/')
mvn versions:set -DnewVersion=$VERSION
mvn deploy
- name: Create Git Tag
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<groupId>space.parzival.pagepulse</groupId>
<artifactId>pagepulse</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>SNAPSHOT</version>

<name>PagePulse</name>
<description>A simple self-hosted status page powered by Spring Boot.</description>
Expand Down

0 comments on commit a167b01

Please sign in to comment.