Skip to content

Commit

Permalink
build: skip release version step
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeplotean committed May 2, 2023
1 parent 48eb4c3 commit a371521
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- name: Calculate release version
run: |
echo "release_version=1.$(date +'%g%m%d%H%M').$(echo ${{ github.ref_name }} | tr / -)" >> $GITHUB_ENV
- name: Set version
run: |
sed -i "s/1.SNAPSHOT/${{ env.release_version }}/g" build.gradle.kts src/main/kotlin/id/walt/Values.kt
- run: |
git tag v${{ env.release_version }}
git push --tags
# - name: Calculate release version
# run: |
# echo "release_version=1.$(date +'%g%m%d%H%M').$(echo ${{ github.ref_name }} | tr / -)" >> $GITHUB_ENV
# - name: Set version
# run: |
# sed -i "s/1.SNAPSHOT/${{ env.release_version }}/g" build.gradle.kts src/main/kotlin/id/walt/Values.kt
# - run: |
# git tag v${{ env.release_version }}
# git push --tags
- name: Setup java
uses: actions/[email protected]
with:
Expand Down

0 comments on commit a371521

Please sign in to comment.