Skip to content

Commit 6976843

Browse files
committed
feat: test
1 parent 72c4b32 commit 6976843

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
id: semver
2020
uses: PaulHatch/semantic-version@v5.3.0
2121
with:
22-
tag_prefix: "v"
22+
tag_prefix: ""
2323
major_pattern: "BREAKING CHANGE:"
2424
minor_pattern: "feat:"
2525
version_format: "${major}.${minor}"
@@ -37,13 +37,8 @@ jobs:
3737
- name: Install dependencies
3838
run: composer install --prefer-dist --no-progress --no-suggest
3939

40-
- name: Print Current Tags
41-
run: |
42-
echo "Current tags:"
43-
git tag -l
44-
4540
- name: Build Laravel Zero app
46-
run: php ploi app:build ploi --build-version=${{ steps.semver.outputs.version_tag }}
41+
run: php ploi app:build ploi --build-version=${{ steps.semver.outputs.version }}
4742

4843
- name: Configure Git
4944
run: |
@@ -54,7 +49,7 @@ jobs:
5449
run: |
5550
git add builds/ploi
5651
git commit -m "Update application build to version ${{ steps.semver.outputs.version }} [skip ci]" || echo "No changes to commit"
57-
git tag -a "v${{ steps.semver.outputs.version }}" -m "Version ${{ steps.semver.outputs.version }}"
52+
git tag -a "${{ steps.semver.outputs.version }}" -m "Version ${{ steps.semver.outputs.version }}"
5853
5954
- name: Push changes
6055
uses: ad-m/github-push-action@master

0 commit comments

Comments
 (0)