-
-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Semantic release commits as Tolgee Machine (#2738)
- Loading branch information
Showing
2 changed files
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 != '' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 != '' }} | ||
|