Skip to content

Commit

Permalink
chore: Semantic release commits as Tolgee Machine (#2738)
Browse files Browse the repository at this point in the history
  • Loading branch information
StaNov authored and JanCizmar committed Dec 2, 2024
1 parent cd20189 commit 6baf47d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/prerelease-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ jobs:
with:
node-version: "18.x"

- name: Set git globals
run: |
git config --local user.email "[email protected]"
git config --local user.name "Tolgee Machine"
- name: Install node modules
run: npm ci

- name: Run get new version
run: npm run release-dry
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_AUTHOR_NAME: Tolgee Machine
GIT_COMMITTER_NAME: Tolgee Machine
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_EMAIL: [email protected]

- name: Set version property
id: version
Expand Down Expand Up @@ -80,6 +79,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ steps.version.outputs.VERSION }}
GIT_AUTHOR_NAME: Tolgee Machine
GIT_COMMITTER_NAME: Tolgee Machine
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_EMAIL: [email protected]

- name: Deploy testing
if: ${{ steps.version.outputs.VERSION != '' }}
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,17 @@ jobs:
with:
node-version: "18.x"

- name: Set git globals
run: |
git config --local user.email "[email protected]"
git config --local user.name "Tolgee Machine"
- name: Install node modules
run: npm ci

- name: Run get new version
run: npm run release-dry
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_AUTHOR_NAME: Tolgee Machine
GIT_COMMITTER_NAME: Tolgee Machine
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_EMAIL: [email protected]

- name: Set version property
id: version
Expand Down Expand Up @@ -85,6 +84,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.TOLGEE_MACHINE_PAT }}
VERSION: ${{ steps.version.outputs.VERSION }}
GIT_AUTHOR_NAME: Tolgee Machine
GIT_COMMITTER_NAME: Tolgee Machine
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_EMAIL: [email protected]

- name: Tag production and deprecated keys in platform
if: ${{ steps.version.outputs.VERSION != '' }}
Expand Down

0 comments on commit 6baf47d

Please sign in to comment.