Skip to content

Commit

Permalink
Merge pull request #167 from luzhongyang/main
Browse files Browse the repository at this point in the history
Update release-agent.yml
  • Loading branch information
exexute authored Dec 3, 2021
2 parents 8c926e4 + f6e7987 commit b54aa20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
with:
maven-version: 3.2.5

- name: Get release
id: get_release
uses: bruceadams/get-release@v1.2.2
- name: Get the release version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}

- name: Get release version
id: get_release_version
run: |
V=`echo ${{ steps.get_release.outputs.tag_name }} | sed -e's/v//g' | sed -e's/V//g'`; \
V=`echo ${{ steps.get_version.outputs.VERSION }} | sed -e's/v//g' | sed -e's/V//g'`; \
echo ::set-output name=VERSION::${V}
- name: Build with Maven
Expand Down

0 comments on commit b54aa20

Please sign in to comment.