Skip to content

bump version to 1.0.6 #34

bump version to 1.0.6

bump version to 1.0.6 #34

Workflow file for this run

name: Release
on:
push:
tags:
- v*
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
clean: false
fetch-depth: 1
show-progress: false
- name: Build
run: make podman-build
- name: Publish
uses: actions/github-script@v7
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-podman/build/animate_images.user.js"),
label: 'User script (js)',
});