Skip to content

Commit

Permalink
chore: add git user (#132)
Browse files Browse the repository at this point in the history
From https://github.com/orgs/community/discussions/40405 it looks like
we can generate a valid email.

Signed-off-by: Tim deBoer <[email protected]>
  • Loading branch information
deboer-tim authored Feb 5, 2024
1 parent 0b6edc0 commit e777dbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
- name: tag
run: |
git config --local user.name ${{ github.actor }}
git config --local user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
# Add the new version in package.json file
sed -i "s#version\":\ \"\(.*\)\",#version\":\ \"${{ steps.TAG_UTIL.outputs.bootcExtensionVersion }}\",#g" package.json
Expand All @@ -74,7 +75,7 @@ jobs:
if: ${{ github.event.inputs.branch == 'main' }}
run: |
git config --local user.name ${{ github.actor }}
git config --local user.email "deboer@redhat.com"
git config --local user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
CURRENT_VERSION=$(echo "${{ steps.TAG_UTIL.outputs.bootcExtensionVersion }}")
tmp=${CURRENT_VERSION%.*}
minor=${tmp#*.}
Expand Down

0 comments on commit e777dbe

Please sign in to comment.