Skip to content

Commit

Permalink
Removed actions-ecosystem/action-push-tag step due to bug
Browse files Browse the repository at this point in the history
  • Loading branch information
skorper committed Dec 12, 2022
1 parent bd1f445 commit 1050eb3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,15 @@ jobs:
git commit -am "/version ${{ env.software_version }}"
git push
- name: Push Tag
uses: actions-ecosystem/action-push-tag@v1
if: |
github.ref == 'refs/heads/develop' ||
github.ref == 'refs/heads/main' ||
startsWith(github.ref, 'refs/heads/release')
with:
tag: ${{ env.software_version }}
message: "Version ${{ env.software_version }}"
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git tag -a "${{ env.software_version }}" -m "Version ${{ env.software_version }}"
git push origin "${{ env.software_version }}"
- name: Build Python Lambda Artifact
run: sh ./build.sh
- name: Prepare Artifacts
Expand Down

0 comments on commit 1050eb3

Please sign in to comment.