Skip to content

Commit

Permalink
Update cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LucBerge authored Jan 2, 2021
1 parent c4b3c2c commit caeff2e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@ jobs:
java-version: 1.8
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Chmod
run: chmod +x ./devscripts/latest-dofus-version.sh

- name: Get latest Dofus version
run: sh ./devscripts/latest-dofus-version.sh >> $dofus_version
run: export DOFUS_VERSION=$(devscripts/latest-dofus-version.sh)

- name: Package with Maven
run: mvn -B package --file pom.xml
Expand All @@ -38,9 +35,9 @@ jobs:
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${dofus_version}
automatic_release_tag: ${DOFUS_VERSION}
prerelease: false
title: B4D-${dofus_version}
title: B4D-${DOFUS_VERSION}
files: |
./LICENSE
./target/B4D-*.*.*.jar

0 comments on commit caeff2e

Please sign in to comment.