-
Notifications
You must be signed in to change notification settings - Fork 24
35 lines (30 loc) · 839 Bytes
/
release.yml
File metadata and controls
35 lines (30 loc) · 839 Bytes
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
name: Create New Release
on:
workflow_dispatch:
inputs:
version:
required: true
jobs:
create-release:
name: Create New Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Bump manifest version
run: node .github/actions/bump-manifest-version.js
env:
TGT_RELEASE_VERSION: ${{ inputs.version }}
- name: Push manifest change
uses: EndBug/add-and-commit@v9
with:
add: fxmanifest.lua
push: true
message: 'chore: bump manifest version to ${{ inputs.version }}'
tag: ${{ inputs.version }}