ignoring node modules
This commit is contained in:
parent
5ce79bd2b8
commit
cac4f8cedf
|
@ -26,6 +26,6 @@ jobs:
|
||||||
- uses: actions/github-script@v6
|
- uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const { script } = await import('${{ github.workspace }}/tools/beta-release/app.js')
|
const { startReleaseProcess } = await import('${{ github.workspace }}/tools/beta-release/app.js')
|
||||||
await script({github, context, core})
|
await startReleaseProcess({github, context, core})
|
||||||
|
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
.cxx
|
.cxx
|
||||||
local.properties
|
local.properties
|
||||||
/benchmark-out
|
/benchmark-out
|
||||||
**/node_modules
|
/node_modules
|
|
@ -46,8 +46,11 @@ android {
|
||||||
"proguard/serializationx.pro",
|
"proguard/serializationx.pro",
|
||||||
"proguard/olm.pro"
|
"proguard/olm.pro"
|
||||||
|
|
||||||
// actual releases are signed with a different config
|
if (project.hasProperty("unsigned")) {
|
||||||
signingConfig = buildTypes.debug.signingConfig
|
// releases are signed externally
|
||||||
|
} else {
|
||||||
|
signingConfig = buildTypes.debug.signingConfig
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ const config = {
|
||||||
|
|
||||||
const rcBranchName = "release-candidate"
|
const rcBranchName = "release-candidate"
|
||||||
|
|
||||||
export const script = async ({ github, context, core }) => {
|
export const startReleaseProcess = async ({ github, context, core }) => {
|
||||||
console.log("script start")
|
console.log("script start")
|
||||||
if (await doesNotHaveInProgressRelease(github) && await isWorkingBranchAhead(github)) {
|
if (await doesNotHaveInProgressRelease(github) && await isWorkingBranchAhead(github)) {
|
||||||
await startRelease(github)
|
await startRelease(github)
|
||||||
|
@ -18,6 +18,11 @@ export const script = async ({ github, context, core }) => {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const publishRelease = async (github, artifact) => {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
const isWorkingBranchAhead = async (github) => {
|
const isWorkingBranchAhead = async (github) => {
|
||||||
const result = await github.rest.repos.compareCommitsWithBasehead({
|
const result = await github.rest.repos.compareCommitsWithBasehead({
|
||||||
owner: config.owner,
|
owner: config.owner,
|
||||||
|
|
Loading…
Reference in New Issue