mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 14:38:50 +00:00
refactor: update esbuild and build process
This commit is contained in:
1 parent
779ecca76f
commit
f05d375c14
9 files changed
+326
-272
No files matched your search
@@ -1,10 +0,0 @@
|
||||
const fs = require('fs');
|
||||
|
||||
const version = process.env.TGT_RELEASE_VERSION;
|
||||
const newVersion = version.replace('v', '');
|
||||
|
||||
const manifestFile = fs.readFileSync('fxmanifest.lua', { encoding: 'utf8' });
|
||||
|
||||
const newFileContent = manifestFile.replace(/\bversion\s+(.*)$/gm, `version '${newVersion}'`);
|
||||
|
||||
fs.writeFileSync('fxmanifest.lua', newFileContent);
|
||||
@@ -43,9 +43,6 @@ jobs:
|
||||
|
||||
- name: Run build
|
||||
run: pnpm build
|
||||
|
||||
- name: Bump manifest version
|
||||
run: node .github/actions/bump-manifest-version.js
|
||||
env:
|
||||
TGT_RELEASE_VERSION: ${{ github.ref_name }}
|
||||
|
||||
|
||||
Reference in new issue
Block a user