mirror of
https://github.com/MeshEnvy/mesh-forge.git
synced 2026-08-11 03:12:55 +02:00
chore: fetch tags from meshtastic remote and update versions list
This commit is contained in:
@@ -11,6 +11,9 @@ const OUTPUT_FILE = path.resolve(__dirname, '../src/constants/versions.ts');
|
|||||||
|
|
||||||
function getVersions() {
|
function getVersions() {
|
||||||
try {
|
try {
|
||||||
|
// Fetch tags from the meshtastic remote
|
||||||
|
execSync('git fetch meshtastic --tags', { cwd: FIRMWARE_DIR, encoding: 'utf-8' });
|
||||||
|
|
||||||
// Run git tag in the firmware directory
|
// Run git tag in the firmware directory
|
||||||
const output = execSync('git tag', { cwd: FIRMWARE_DIR, encoding: 'utf-8' });
|
const output = execSync('git tag', { cwd: FIRMWARE_DIR, encoding: 'utf-8' });
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
// This file is auto-generated by scripts/generate-versions.js
|
// This file is auto-generated by scripts/generate-versions.js
|
||||||
export const VERSIONS = [
|
export const VERSIONS = [
|
||||||
|
'v2.7.16.a597230',
|
||||||
'v2.7.15.567b8ea',
|
'v2.7.15.567b8ea',
|
||||||
'v2.7.14.e959000',
|
'v2.7.14.e959000',
|
||||||
'v2.7.13.597fa0b',
|
'v2.7.13.597fa0b',
|
||||||
|
|||||||
Reference in New Issue
Block a user