Skip to content

Commit

Permalink
ci: update ci-v2 (#341)
Browse files Browse the repository at this point in the history
chore: update project json and nvm version
ci: do not update version code if no change in version name
ci: hotfix branch name fix
ci: fix nx gradle version
  • Loading branch information
itsdebs authored Oct 16, 2023
1 parent 9d2f5e3 commit eecb441
Show file tree
Hide file tree
Showing 21 changed files with 3,164 additions and 14,531 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create_hotfix_branch-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: '${{ BRANCH_NAME }}/${{ github.event.inputs.hotfix_name }}-v2'
branch: '${{ BRANCH_NAME }}/${{ github.event.inputs.hotfix_name }}'
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.15.1
18.17.1
4 changes: 4 additions & 0 deletions gradle-updater.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ const version = packageJson.version;
const contents = fs.readFileSync(`${package}/gradle.properties`, 'utf8');
const properties = PropertiesReader();
properties.read(contents);
let oldVersion = properties.get("VERSION_NAME");
if (oldVersion === version) {
return;
}
let versionCode = properties.get("VERSION_CODE");
properties.set("VERSION_NAME", version);
properties.set("VERSION_CODE", (versionCode + 1));
Expand Down
13 changes: 0 additions & 13 deletions gsonrudderadapter/package-lock.json

This file was deleted.

1 change: 1 addition & 0 deletions gsonrudderadapter/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"github": {
"executor": "@jscutlery/semver:github",
"options": {
"title": "[email protected]",
"tag": "[email protected]",
"notesFile": "./gsonrudderadapter/CHANGELOG_LATEST.md"
}
Expand Down
13 changes: 0 additions & 13 deletions jacksonrudderadapter/package-lock.json

This file was deleted.

1 change: 1 addition & 0 deletions jacksonrudderadapter/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"github": {
"executor": "@jscutlery/semver:github",
"options": {
"title": "[email protected]",
"tag": "[email protected]",
"notesFile": "./jacksonrudderadapter/CHANGELOG_LATEST.md"
}
Expand Down
13 changes: 0 additions & 13 deletions models/package-lock.json

This file was deleted.

1 change: 1 addition & 0 deletions models/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"github": {
"executor": "@jscutlery/semver:github",
"options": {
"title": "[email protected]",
"tag": "[email protected]",
"notesFile": "./models/CHANGELOG_LATEST.md"
}
Expand Down
13 changes: 0 additions & 13 deletions moshirudderadapter/package-lock.json

This file was deleted.

3 changes: 2 additions & 1 deletion moshirudderadapter/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"options": {
"baseBranch": "master-v2",
"preset": "conventional",
"tagPrefix": "${projectName}@"
"tagPrefix": "{projectName}@"
}
},
"sync-bumped-version-properties": {
Expand All @@ -45,6 +45,7 @@
"github": {
"executor": "@jscutlery/semver:github",
"options": {
"title": "[email protected]",
"tag": "[email protected]",
"notesFile": "./moshirudderadapter/CHANGELOG_LATEST.md"
}
Expand Down
Loading

0 comments on commit eecb441

Please sign in to comment.