Skip to content

Commit

Permalink
Merge pull request #433 from wuespace/fix/release-pipeline
Browse files Browse the repository at this point in the history
Fix release pipeline
  • Loading branch information
fussel178 authored Dec 17, 2024
2 parents b42c069 + 26eb1b6 commit 2993291
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,13 @@ jobs:
steps:
- name: Checkout 📥
uses: actions/checkout@v3.6.0
# set GitHub Actions Bot as git user
# see: https://github.com/actions/checkout/pull/1707
- name: Create Go Version Tag
run: |
tag=${GITHUB_REF#refs/tags/}
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git tag -a "backend-go/$tag" -m "Go Release $tag"
git push origin "backend-go/$tag"
######################
Expand Down Expand Up @@ -150,6 +154,7 @@ jobs:
node-version: ${{ env.node }}
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies 📚
run: pnpm install
- name: Build 🏗️
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,13 @@ jobs:
steps:
- name: Checkout 📥
uses: actions/checkout@v3.6.0
# set GitHub Actions Bot as git user
# see: https://github.com/actions/checkout/pull/1707
- name: Create Go Version Tag
run: |
tag=${GITHUB_REF#refs/tags/}
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git tag -a "backend-go/$tag" -m "Go Release $tag"
git push origin "backend-go/$tag"
######################
Expand Down Expand Up @@ -150,6 +154,7 @@ jobs:
node-version: ${{ env.node }}
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies 📚
run: pnpm install
- name: Build 🏗️
Expand Down

0 comments on commit 2993291

Please sign in to comment.