Skip to content

Update .version

Update .version #10

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
paths:
- .github/.version
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Read .version file
id: version
run: echo "version=$(cat .github/.version)" >> $GITHUB_OUTPUT
- name: zip datapack
run: zip -r pumpkin.zip pack.mcmeta pack.png assets
- uses: actions/upload-artifact@v4
with:
name: artifacts
path: pumpkin.zip
- uses: crowbarmaster/GH-Automatic-Releases@latest
if: github.event_name != 'pull_request'
with:
prerelease: false
repo_token: ${{ github.token }}
title: v${{ steps.version.outputs.version }}
automatic_release_tag: ${{ steps.version.outputs.version }}
files: pumpkin.zip