mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-18 11:30:59 +01:00
actions: android: Prevent resolving tag commit to PR link
This commit is contained in:
parent
06c68fb196
commit
3b314a68a1
1 changed files with 2 additions and 2 deletions
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 a new issue