We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b87f231 commit eefe4bdCopy full SHA for eefe4bd
.github/workflows/tag.yml
@@ -25,9 +25,10 @@ jobs:
25
const onejan = new Date(now.getFullYear(), 0, 1);
26
/* This is not a ISO-8601 week number but works well for versioning */
27
const week = Math.ceil((((now.getTime() - onejan.getTime()) / 86400000) + onejan.getDay() + 1) / 7);
28
- github.rest.git.createRef({
+ const result = await github.rest.git.createRef({
29
owner: context.repo.owner,
30
repo: context.repo.repo,
31
ref: `refs/tags/v${ now.getFullYear() }.${ week }.0`,
32
sha: context.sha
33
- })
+ });
34
+ console.log(result);
0 commit comments