Skip to content

Commit

Permalink
Merge pull request #591 from hoogi91/feature/release-workflow
Browse files Browse the repository at this point in the history
Improve draft release creation
  • Loading branch information
hoogi91 authored Aug 12, 2024
2 parents ae31150 + 90a270f commit 7ba01ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: https://github.com/hoogi91/spreadsheets/releases/tag/${{ steps.bump-version.outputs.version }}
- run: gh release create ${{ steps.bump-version.outputs.version }} --generate-notes --draft=true --latest=${{ inputs.latest-release }}
- run: gh release create ${{ steps.bump-version.outputs.version }} --generate-notes --draft --target=${{ github.sha }} --latest=${{ inputs.latest-release }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -54,7 +54,7 @@ jobs:
environment: 'github'
needs: [ bump-version ]
steps:
- run: gh release edit ${{ steps.bump-version.outputs.version }} --draft=false
- run: gh release edit ${{ steps.bump-version.outputs.version }} --draft=false --latest=${{ inputs.latest-release }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ project = Spreadsheets
# ... (recommended) version, displayed next to title (desktop) and in <meta name="book-version"
# .................................................................................

release = 4.0.1
release = 3.4.0

# .................................................................................
# ... (recommended) displayed in footer
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'category' => 'be',
'author' => 'Thorsten Hogenkamp',
'author_email' => '[email protected]',
'version' => '4.0.1',
'version' => '3.4.0',
'state' => 'stable',
'constraints' => [
'depends' => [
Expand Down

0 comments on commit 7ba01ca

Please sign in to comment.