Skip to content

Commit

Permalink
Rename for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
PEZ committed Nov 5, 2024
1 parent 146a4b5 commit 9eee994
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
name: extension-tests
path: out/extension-tests.js

release-test:
test:
runs-on: ubuntu-latest
needs: build
steps:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:
- 'v*'

jobs:
release-test:
uses: ./.github/workflows/build.yml
test:
uses: ./.github/workflows/build-and-test.yml

github-release:
needs:
- release-test
- test
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Write release notes
run: |
bb release-notes ${{ github.ref_name }} > /tmp/release-notes.md
bb ci:release-notes ${{ github.ref_name }} > /tmp/release-notes.md
- name: Github Release
uses: ncipollo/release-action@v1
Expand Down Expand Up @@ -138,4 +138,4 @@ jobs:
- name: Bump Version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: bb bump-version "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" "${{ github.actor }}"
run: bb ci:bump-version "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" "${{ github.actor }}"
12 changes: 7 additions & 5 deletions bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
:tasks
{:requires ([tasks :as t])

publish {:doc "Publish the extension"
;; Use the -d arg to make the task a dry-run.
publish {:doc "Usage: bb publish [-d]"
:task t/publish!}

release-notes {:doc "Get release notes for <version>"
:task t/print-release-notes!}
ci:release-notes {:doc "Get release notes for <version>"
:task t/print-release-notes!}

bump-version {:doc "Bump the extension version"
:task t/bump-version!}}}
;; The -d arg needs to go last. It will make the task a dry-run.
ci:bump-version {:doc "Usage: bb bump-version <email> <user-name> [-d]"
:task t/bump-version!}}}

0 comments on commit 9eee994

Please sign in to comment.