actions: android: Prevent resolving tag commit to PR link
This commit is contained in:
parent
06c68fb196
commit
3b314a68a1
4
.github/workflows/android-merge.js
vendored
4
.github/workflows/android-merge.js
vendored
@ -90,8 +90,8 @@ async function tagAndPush(github, owner, repo, execa, commit=false) {
|
|||||||
console.log(`New tag: ${newTag}`);
|
console.log(`New tag: ${newTag}`);
|
||||||
if (commit) {
|
if (commit) {
|
||||||
let channelName = channel[0].toUpperCase() + channel.slice(1);
|
let channelName = channel[0].toUpperCase() + channel.slice(1);
|
||||||
console.info(`Committing pending commit as ${channelName} #${tagNumber + 1}`);
|
console.info(`Committing pending commit as ${channelName} ${tagNumber + 1}`);
|
||||||
await execa("git", ['commit', '-m', `${channelName} #${tagNumber + 1}`]);
|
await execa("git", ['commit', '-m', `${channelName} ${tagNumber + 1}`]);
|
||||||
}
|
}
|
||||||
console.info('Pushing tags to GitHub ...');
|
console.info('Pushing tags to GitHub ...');
|
||||||
await execa("git", ['tag', newTag]);
|
await execa("git", ['tag', newTag]);
|
||||||
|
Loading…
Reference in New Issue
Block a user