forked from iarv/mesh-forge
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() {
|
||||
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
|
||||
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
|
||||
export const VERSIONS = [
|
||||
'v2.7.16.a597230',
|
||||
'v2.7.15.567b8ea',
|
||||
'v2.7.14.e959000',
|
||||
'v2.7.13.597fa0b',
|
||||
|
||||
Reference in New Issue
Block a user