Skip to content

Commit

Permalink
chore: use gh action env auth to publish release
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperkid123 committed Nov 19, 2024
1 parent 68946bd commit e858ed9
Show file tree
Hide file tree
Showing 15 changed files with 99 additions and 30 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ jobs:
- name: Install deps
shell: bash
run: npm i
- name: Rebuild packages
run: npm run build
- name: git config
shell: bash
run: |
Expand All @@ -163,3 +161,4 @@ jobs:
run: |
git tag -f last-release
git push origin last-release --force --no-verify
git push origin master --no-verify
9 changes: 7 additions & 2 deletions packages/advisor-components/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@
"executor": "@jscutlery/semver:version",
"options": {
"preset": "conventionalcommits",
"postTargets": ["build", "deploy", "github"],
"postTargets": ["tagRelease", "build", "deploy", "github"],
"trackDeps": true,
"push": true,
"commitMessageFormat": "release: bump {projectName} to {version} [skip ci]"

}
Expand All @@ -99,6 +98,12 @@
"access": "public"
},
"dependsOn": ["build"]
},
"tagRelease": {
"executor": "nx:run-commands",
"options": {
"command": "git push --tags"
}
}
}
}
9 changes: 7 additions & 2 deletions packages/chrome/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@
"executor": "@jscutlery/semver:version",
"options": {
"preset": "conventionalcommits",
"postTargets": ["build", "deploy", "github"],
"postTargets": ["tagRelease", "build", "deploy", "github"],
"trackDeps": true,
"push": true,
"commitMessageFormat": "release: bump {projectName} to {version} [skip ci]"

}
Expand All @@ -73,6 +72,12 @@
"access": "public"
},
"dependsOn": ["build"]
},
"tagRelease": {
"executor": "nx:run-commands",
"options": {
"command": "git push --tags"
}
}
}
}
9 changes: 7 additions & 2 deletions packages/components/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,8 @@
"executor": "@jscutlery/semver:version",
"options": {
"preset": "conventionalcommits",
"postTargets": ["build", "deploy", "github"],
"postTargets": ["tagRelease", "build", "deploy", "github"],
"trackDeps": true,
"push": true,
"commitMessageFormat": "release: bump {projectName} to {version} [skip ci]"

}
Expand All @@ -98,6 +97,12 @@
"access": "public"
},
"dependsOn": ["build"]
},
"tagRelease": {
"executor": "nx:run-commands",
"options": {
"command": "git push --tags"
}
}
}
}
9 changes: 7 additions & 2 deletions packages/config-utils/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@
"executor": "@jscutlery/semver:version",
"options": {
"preset": "conventionalcommits",
"postTargets": ["build", "deploy", "github"],
"postTargets": ["tagRelease", "build", "deploy", "github"],
"trackDeps": true,
"push": true,
"commitMessageFormat": "release: bump {projectName} to {version} [skip ci]"

}
Expand All @@ -52,6 +51,12 @@
"access": "public"
},
"dependsOn": ["build"]
},
"tagRelease": {
"executor": "nx:run-commands",
"options": {
"command": "git push --tags"
}
}
}
}
9 changes: 7 additions & 2 deletions packages/config/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@
"executor": "@jscutlery/semver:version",
"options": {
"preset": "conventionalcommits",
"postTargets": ["build", "deploy", "github"],
"postTargets": ["tagRelease", "build", "deploy", "github"],
"trackDeps": true,
"push": true,
"commitMessageFormat": "release: bump {projectName} to {version} [skip ci]"

}
Expand All @@ -60,6 +59,12 @@
"access": "public"
},
"dependsOn": ["build"]
},
"tagRelease": {
"executor": "nx:run-commands",
"options": {
"command": "git push --tags"
}
}
}
}
9 changes: 7 additions & 2 deletions packages/eslint-config/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@
"executor": "@jscutlery/semver:version",
"options": {
"preset": "conventionalcommits",
"postTargets": ["build", "deploy", "github"],
"postTargets": ["tagRelease", "build", "deploy", "github"],
"trackDeps": true,
"push": true,
"commitMessageFormat": "release: bump {projectName} to {version} [skip ci]"

}
Expand All @@ -47,6 +46,12 @@
"access": "public"
},
"dependsOn": ["build"]
},
"tagRelease": {
"executor": "nx:run-commands",
"options": {
"command": "git push --tags"
}
}
}
}
9 changes: 7 additions & 2 deletions packages/notifications/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,8 @@
"executor": "@jscutlery/semver:version",
"options": {
"preset": "conventionalcommits",
"postTargets": ["build", "deploy", "github"],
"postTargets": ["tagRelease", "build", "deploy", "github"],
"trackDeps": true,
"push": true,
"commitMessageFormat": "release: bump {projectName} to {version} [skip ci]"

}
Expand All @@ -88,6 +87,12 @@
"access": "public"
},
"dependsOn": ["build"]
},
"tagRelease": {
"executor": "nx:run-commands",
"options": {
"command": "git push --tags"
}
}
}
}
9 changes: 7 additions & 2 deletions packages/remediations/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@
"executor": "@jscutlery/semver:version",
"options": {
"preset": "conventionalcommits",
"postTargets": ["build", "deploy", "github"],
"postTargets": ["tagRelease", "build", "deploy", "github"],
"trackDeps": true,
"push": true,
"commitMessageFormat": "release: bump {projectName} to {version} [skip ci]"

}
Expand All @@ -89,6 +88,12 @@
"access": "public"
},
"dependsOn": ["build"]
},
"tagRelease": {
"executor": "nx:run-commands",
"options": {
"command": "git push --tags"
}
}
}
}
9 changes: 7 additions & 2 deletions packages/rule-components/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@
"executor": "@jscutlery/semver:version",
"options": {
"preset": "conventionalcommits",
"postTargets": ["build", "deploy", "github"],
"postTargets": ["tagRelease", "build", "deploy", "github"],
"trackDeps": true,
"push": true,
"commitMessageFormat": "release: bump {projectName} to {version} [skip ci]"

}
Expand All @@ -89,6 +88,12 @@
"access": "public"
},
"dependsOn": ["build"]
},
"tagRelease": {
"executor": "nx:run-commands",
"options": {
"command": "git push --tags"
}
}
}
}
9 changes: 7 additions & 2 deletions packages/testing/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@
"executor": "@jscutlery/semver:version",
"options": {
"preset": "conventionalcommits",
"postTargets": ["build", "deploy", "github"],
"postTargets": ["tagRelease", "build", "deploy", "github"],
"trackDeps": true,
"push": true,
"commitMessageFormat": "release: bump {projectName} to {version} [skip ci]"

}
Expand All @@ -81,6 +80,12 @@
"access": "public"
},
"dependsOn": ["build"]
},
"tagRelease": {
"executor": "nx:run-commands",
"options": {
"command": "git push --tags"
}
}
}
}
9 changes: 7 additions & 2 deletions packages/translations/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,8 @@
"executor": "@jscutlery/semver:version",
"options": {
"preset": "conventionalcommits",
"postTargets": ["build", "deploy", "github"],
"postTargets": ["tagRelease", "build", "deploy", "github"],
"trackDeps": true,
"push": true,
"commitMessageFormat": "release: bump {projectName} to {version} [skip ci]"

}
Expand All @@ -100,6 +99,12 @@
"access": "public"
},
"dependsOn": ["build"]
},
"tagRelease": {
"executor": "nx:run-commands",
"options": {
"command": "git push --tags"
}
}
}
}
9 changes: 7 additions & 2 deletions packages/tsc-transform-imports/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@
"executor": "@jscutlery/semver:version",
"options": {
"preset": "conventionalcommits",
"postTargets": ["build", "deploy", "github"],
"postTargets": ["tagRelease", "build", "deploy", "github"],
"trackDeps": true,
"push": true,
"commitMessageFormat": "release: bump {projectName} to {version} [skip ci]"

}
Expand All @@ -52,6 +51,12 @@
"access": "public"
},
"dependsOn": ["build"]
},
"tagRelease": {
"executor": "nx:run-commands",
"options": {
"command": "git push --tags"
}
}
}
}
9 changes: 7 additions & 2 deletions packages/types/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
"executor": "@jscutlery/semver:version",
"options": {
"preset": "conventionalcommits",
"postTargets": ["build", "deploy", "github"],
"postTargets": ["tagRelease", "build", "deploy", "github"],
"trackDeps": true,
"push": true,
"commitMessageFormat": "release: bump {projectName} to {version} [skip ci]"

}
Expand All @@ -46,6 +45,12 @@
"access": "public"
},
"dependsOn": ["build"]
},
"tagRelease": {
"executor": "nx:run-commands",
"options": {
"command": "git push --tags"
}
}
}
}
9 changes: 7 additions & 2 deletions packages/utils/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,8 @@
"executor": "@jscutlery/semver:version",
"options": {
"preset": "conventionalcommits",
"postTargets": ["build", "deploy", "github"],
"postTargets": ["tagRelease", "build", "deploy", "github"],
"trackDeps": true,
"push": true,
"commitMessageFormat": "release: bump {projectName} to {version} [skip ci]"

}
Expand All @@ -88,6 +87,12 @@
"access": "public"
},
"dependsOn": ["build"]
},
"tagRelease": {
"executor": "nx:run-commands",
"options": {
"command": "git push --tags"
}
}
}
}

0 comments on commit e858ed9

Please sign in to comment.