Skip to content

Commit 051c216

Browse files
committed
version cleanup
1 parent e7faaf2 commit 051c216

File tree

3 files changed

+9
-15
lines changed

3 files changed

+9
-15
lines changed

startos/install/versions/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { v1_2_1_1 } from './v1_2_1_1'
2-
export { v1_3_1_1_beta2 as current } from './v1_3_1_1-beta.2'
1+
export { v1_3_1_1 as current } from './v1.3.1_1-beta.0'
32

4-
export const other = [v1_2_1_1]
3+
export const other = []

startos/install/versions/v1_2_1_1.ts renamed to startos/install/versions/v1.3.1_1-beta.0.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import { VersionInfo, IMPOSSIBLE } from '@start9labs/start-sdk'
22
import { envFile } from '../../fileModels/env'
33
import { envDefaults } from '../../utils'
44
import { load } from 'js-yaml'
5-
import { readFile } from 'fs/promises'
5+
import { readFile, rm } from 'fs/promises'
66

7-
export const v1_2_1_1 = VersionInfo.of({
8-
version: '1.2.1:1-alpha.0',
7+
export const v1_3_1_1 = VersionInfo.of({
8+
version: '1.2.1:1-beta.0',
99
releaseNotes: 'Revamped for StartOS 0.4.0',
1010
migrations: {
1111
up: async ({ effects }) => {
@@ -29,6 +29,10 @@ export const v1_2_1_1 = VersionInfo.of({
2929
LNBITS_BACKEND_WALLET_CLASS: configuredImplementation,
3030
LNBITS_ALLOWED_FUNDING_SOURCES: configuredImplementation,
3131
})
32+
33+
rm('/media/startos/volumes/main/start9', {
34+
recursive: true,
35+
}).catch(console.error)
3236
} catch {
3337
console.log('config.yaml not found')
3438
}

startos/install/versions/v1_3_1_1-beta.2.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)