Skip to content

fix releaser

fix releaser #19

Workflow file for this run

name: releaser
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+alpha[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+beta[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+rc[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Get the version
id: get_version
shell: bash
run: |
echo "tag=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
- name: Build
shell: bash
run: |
docker run --net host -i -v .:/root/repo -w /root/repo ubuntu:jammy /bin/bash -c 'apt update && apt install -y git curl && bash build.bash --skip-tests --zip'
sudo mv build/Release/dist/Release.zip build/Release/dist/gcmzdrops_${{ steps.get_version.outputs.tag }}.zip
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.get_version.outputs.tag }}
draft: true
prerelease: false
files: build/Release/dist/*
body: |
### ダウンロード
- [gcmzdrops_${{ steps.get_version.outputs.tag }}.zip](https://github.com/oov/aviutl_gcmzdrops/releases/download/${{ steps.get_version.outputs.tag }}/gcmzdrops_${{ steps.get_version.outputs.tag }}.zip)
### 変更点
- ****