Skip to content

Commit c2d0f7b

Browse files
committed
ci: Debug ci
1 parent 7969f7a commit c2d0f7b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/bump-version.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ jobs:
1717
uses: ./.github/actions
1818
- name: Get git hash
1919
run: |
20-
echo "COMMIT=$(echo ${$(git log --grep="chore(release): publish" --date-order --max-count=1 --pretty=format:"%h")})"
21-
- run: |
22-
git log --grep="chore(release): publish"
20+
echo "export COMMIT=$(echo ${$(git show-ref --tags --hash | tail -n 1)})"
21+
- run: git show-ref --tags --hash | tail -n 1
2322
- name: Test and build
2423
run: npx nx affected -t test build --parallel=3 --exclude='json-api-front,json-api-server,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source' --base=${COMMIT} --head=origin/master
2524
- name: Upload test coverage badge

0 commit comments

Comments
 (0)