Begin implementing a script to check if a tag exists via forgejo API for my release workflow
This commit is contained in:
parent
0362342419
commit
58893f46db
2 changed files with 74 additions and 0 deletions
11
scripts/tagExists.mjs
Normal file
11
scripts/tagExists.mjs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
const {
|
||||
TAG_NAME,
|
||||
FORGEJO_API_URL,
|
||||
FORGEJO_REPOSITORY,
|
||||
FORGEJO_REPOSITORY_OWNER,
|
||||
} = process.env;
|
||||
|
||||
|
||||
console.log(process.env)
|
||||
|
||||
process.exit(1);
|
||||
Loading…
Add table
Add a link
Reference in a new issue