This repository was archived by the owner on Apr 12, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (40 loc) · 1.37 KB
/
release.yml
File metadata and controls
46 lines (40 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
release:
name: Build & Publish GitHub Release
runs-on: ubuntu-latest
# Gereksiz env değişkenleri kaldırıldı
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Extract version from tag
id: version
run: echo "version=${GITHUB_REF_NAME}" >> $GITHUB_OUTPUT
- name: Build ZIP
run: |
zip -r "click-lib-${{ steps.version.outputs.version }}.zip" . \
--exclude "*.git*" \
--exclude ".github/*" \
--exclude "*.md" \
--exclude "LICENSE"
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
name: "ClickLib ${{ steps.version.outputs.version }}"
tag_name: ${{ github.ref_name }}
body: |
## ClickLib ${{ steps.version.outputs.version }}
Vanilla click detection library for Minecraft Java Edition 1.21.6 (pack_format 88).
### Installation
Download the ZIP below and place it in your world's `datapacks/` folder.
### Changelog
See [README.md](README.md) for API reference.
files: "click-lib-${{ steps.version.outputs.version }}.zip"
draft: false
prerelease: ${{ contains(steps.version.outputs.version, '-') }}