Skip to content

Commit

Permalink
add git config to tag job (#5854)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 authored Jun 25, 2024
1 parent fa27840 commit 34c4fb9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/create-release-tarballs.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

set -e
set -ex

directory=$1
version=$2
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ jobs:

- name: Create new release Tag
run: |
git config --global user.email "[email protected]"
git config --global user.name "NGINX Kubernetes Team"
branch="${{ inputs.release_branch }}"
tag="v${{ inputs.nic_version }}"
if ! git rev-parse --verify refs/tags/${tag}; then
Expand Down Expand Up @@ -299,6 +301,8 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: ${{ inputs.release_branch }}

- name: Fetch Binary Artifacts from Cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
Expand Down

0 comments on commit 34c4fb9

Please sign in to comment.