Skip to content

bump version to 1.0.2 #29

bump version to 1.0.2

bump version to 1.0.2 #29

Workflow file for this run

name: Release
on:
push:
tags:
- v*
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
container:
image: emscripten/emsdk
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: |
make container-build
EMSDK_VERSION=3.1.44
ESBUILD_VERSION=0.18.17
MESON_VERSION=1.2.0
NINJA_VERSION=1.11.1
- name: Publish
uses: actions/github-script@v6
with:
script: |
const fs = require('fs');
const tag = context.ref.replace('refs/tags/', '');
const release = await github.rest.repos.createRelease({
owner: context.repo.owner,
repo: context.repo.repo,
tag_name: tag,
});
const asset = await github.rest.repos.uploadReleaseAsset({
owner: context.repo.owner,
repo: context.repo.repo,
release_id: release.data.id,
name: 'animate_images.user.js',
data: await fs.readFileSync("build/animate_images.user.js"),
label: 'User script (js)',
});