Deploy website and publish package for release tags

This commit is contained in:
Tim Schaub
2022-08-18 16:11:10 -06:00
parent 293f128558
commit 6db24d214b
6 changed files with 116 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ import {hideBin} from 'yargs/helpers';
import {readFile, stat} from 'node:fs/promises';
/**
* @typedef {Object} ReleaseOptions
* @typedef {Object} Options
* @property {string} token The bearer token.
* @property {string} tag The tag.
* @property {boolean} draft Create a draft release.
@@ -20,7 +20,7 @@ const repo = 'openlayers';
/**
* Create a release.
* @param {ReleaseOptions} options The release options.
* @param {Options} options The release options.
*/
async function createRelease(options) {
const client = new Octokit({