v0.0.66: testing something dumb
This commit is contained in:
+1
-1
@@ -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 }}
|
||||
|
||||
+1
@@ -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/, ''));
|
||||
|
||||
@@ -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/, ''))
|
||||
|
||||
Reference in New Issue
Block a user