Skip to content

Commit

Permalink
FIW release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinovega committed Oct 8, 2024
1 parent bfa0dc9 commit 4103f4d
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,28 +64,28 @@ jobs:
git config --local user.name "daikoku-github-actions"
git add --all
git commit -am "Update version number before release"
# - name: build manual
# id: manual
# run: |
# cd manual
# sbt "release release-version ${{ github.event.inputs.releaseversion }}"
# cd ..
# sh ./scripts/build.sh manual
# echo "diff=$(git diff --numstat | wc -l)" >> $GITHUB_OUTPUT
# cd ..
# - name: Commit manual
# if: steps.manual.outputs.diff != '0'
# run: |
# git config --local user.email "[email protected]"
# git config --local user.name "daikoku-github-actions"
# git add --all
# git commit -am "Update documentation before release"
# - name: Push manual
# uses: ad-m/github-push-action@master
# if: steps.manual.outputs.diff != '0'
# with:
# branch: ${{ github.ref }}
# github_token: ${{ secrets.GITHUB_TOKEN}}
- name: build manual
id: manual
run: |
cd manual
sbt "release release-version ${{ github.event.inputs.releaseversion }}"
cd ..
sh ./scripts/build.sh manual
echo "diff=$(git diff --numstat | wc -l)" >> $GITHUB_OUTPUT
cd ..
- name: Commit manual
if: steps.manual.outputs.diff != '0'
run: |
git config --local user.email "[email protected]"
git config --local user.name "daikoku-github-actions"
git add --all
git commit -am "Update documentation before release"
- name: Push manual
uses: ad-m/github-push-action@master
if: steps.manual.outputs.diff != '0'
with:
branch: ${{ github.ref }}
github_token: ${{ secrets.GITHUB_TOKEN}}
# release sbt (with auto commit tag)
- name: release sbt
run: |
Expand Down

0 comments on commit 4103f4d

Please sign in to comment.