Skip to content

Commit

Permalink
Merge pull request #11 from agentdid127/master
Browse files Browse the repository at this point in the history
Fix versioning?
  • Loading branch information
CoryBorek authored Sep 28, 2020
2 parents ab6fdec + 80f1ec0 commit 94adef0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
java-version: 1.11
- name: "Get Information"
run: |
VERSION =cat pom.xml | grep "^ <version>.*</version>$" | awk -F'[><]' '{print $3}'
echo ::set-env name=VERSION::$(cat pom.xml | grep "^ <version>.*</version>$" | awk -F'[><]' '{print $3}')
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: $VERSION
release_name: Prerelease $VERSION
tag_name: ${{ env.VERSION }}
release_name: Prerelease ${{ env.VERSION }}
body: |
Prerelease Automatically Generated by software... Please change draft to add changelog.
draft: true
Expand Down

0 comments on commit 94adef0

Please sign in to comment.