v0.0.66: testing something dumb

This commit is contained in:
Edwin Sirko
2024-01-25 16:04:05 -05:00
committed by ddivad195
parent be346d67f7
commit 7269b88cd7
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ runs:
shell: bash
# - run: node ./dist/index.js
# shell: bash
- uses: ddivad195/publish-action-package/package-and-publish@v0.0.65
- uses: ddivad195/publish-action-package/package-and-publish@v0.0.66
id: publish
env:
TOKEN: ${{ github.token }}
Generated Vendored
+1
View File
@@ -74754,6 +74754,7 @@ async function run() {
}
const releaseId = github.context.payload.release.id;
const releaseTag = github.context.payload.release.tag_name;
console.log(`Release ID and tag? ${releaseId}, ${releaseTag}`);
// Strip any leading 'v' from the tag in case the release format is e.g. 'v1.0.0' as recommended by GitHub docs
// https://docs.github.com/en/actions/creating-actions/releasing-and-maintaining-actions
const targetVersion = semver_1.default.parse(releaseTag.replace(/^v/, ''));
+2
View File
@@ -26,6 +26,8 @@ export async function run(): Promise<void> {
const releaseId: string = github.context.payload.release.id
const releaseTag: string = github.context.payload.release.tag_name
console.log(`Release ID and tag? ${releaseId}, ${releaseTag}`)
// Strip any leading 'v' from the tag in case the release format is e.g. 'v1.0.0' as recommended by GitHub docs
// https://docs.github.com/en/actions/creating-actions/releasing-and-maintaining-actions
const targetVersion = semver.parse(releaseTag.replace(/^v/, ''))