Skip to content

Commit

Permalink
release on monday
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <sebhoss@pm.me>
  • Loading branch information
sebhoss committed Jul 19, 2020
1 parent 9fe12dc commit 77df01f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Release
on:
schedule:
- cron: '25 1 * * SUN'
- cron: '25 4 * * MON'
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -26,7 +26,7 @@ jobs:
run: echo "::set-output name=version::$(date +'%Y.%-m.%-d-%-H%M%S')"
- name: Count commits in last week
id: commits
run: echo "::set-output name=count::$(git rev-list --count HEAD --since='last Sunday')"
run: echo "::set-output name=count::$(git rev-list --count HEAD --since='last Monday')"
- name: Set release version
run: mvn --batch-mode --settings $GITHUB_WORKSPACE/build/settings.xml versions:set -DnewVersion=${{steps.release.outputs.version}} -DgenerateBackupPoms=false
env:
Expand Down

0 comments on commit 77df01f

Please sign in to comment.