Skip to content

Commit

Permalink
Release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlia committed Feb 6, 2025
1 parent 3ac5959 commit 5b66906
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
21 changes: 20 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,25 @@ jobs:
- if: github.ref_type == 'tag'
run: '[[ "$(jq -r .version deno.json)" = "$GITHUB_REF_NAME" ]]'
- run: deno publish --allow-dirty
- if: github.ref_type == 'tag'
id: extract-changelog
uses: dahlia/[email protected]
with:
input-file: CHANGES.md
heading-level: 2
heading-title-text: version ${{ github.ref_name }}
ignore-case: true
omit-heading: true
- if: github.ref_type == 'tag'
run: 'cat "$CHANGES_FILE"'
env:
CHANGES_FILE: ${{ steps.extract-changelog.outputs.output-file }}
- if: github.ref_type == 'tag'
uses: softprops/action-gh-release@v2
with:
body_path: ${{ steps.extract-changelog.outputs.output-file }}
name: BotKit ${{ github.ref_name }}
generate_release_notes: false

publish-docs:
if: github.event_name == 'push'
Expand Down Expand Up @@ -87,4 +106,4 @@ jobs:
- id: deploy
uses: actions/deploy-pages@v4

# cSpell: ignore denoland
# cSpell: ignore denoland softprops
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ BotKit changelog
Version 0.1.0
-------------

Initial release. To be released.
Initial release. Released on February 7, 2025.

0 comments on commit 5b66906

Please sign in to comment.