Skip to content

Commit 6d2f59c

Browse files
authored
ci: Try to fix release workflow (#165)
1 parent 4cd95fb commit 6d2f59c

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/release-please.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@ jobs:
2525
pull-request-title-pattern: "build${scope}: release${component} ${version}"
2626
changelog-notes-type: github
2727

28+
- uses: actions/checkout@v4
29+
if: ${{ steps.release-please.outputs.release_created }}
30+
31+
- name: tag common module
32+
if: ${{ steps.release-please.outputs.release_created }}
33+
run: |
34+
git config user.name github-actions[bot]
35+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
36+
git tag -a common/${{ steps.release-please.outputs.tag_name }} -m "Release common/${{ steps.release-please.outputs.tag_name }}"
37+
git push origin common/${{ steps.release-please.outputs.tag_name }}
38+
2839
- if: ${{ steps.release-please.outputs.release_created }}
2940
name: Run release workflow
3041
uses: benc-uk/workflow-dispatch@v121

.goreleaser.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ release:
2323
### Summary
2424
**Full Changelog**: https://github.com/d2iq-labs/{{.ProjectName}}/compare/{{ .PreviousTag }}...{{ .Tag }}
2525
26-
gomod:
27-
proxy: true
28-
2926
builds:
3027
- id: capi-runtime-extensions
3128
dir: ./cmd

0 commit comments

Comments
 (0)