Skip to content

Commit 0449634

Browse files
author
Maxime Mangel
committed
Release version 4.1.3-2023-11-10_23-24-41
1 parent 917ecbf commit 0449634

2 files changed

Lines changed: 17 additions & 21 deletions

File tree

build.fsx

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -206,17 +206,11 @@ module Stages =
206206
reg.Replace(
207207
line,
208208
fun m ->
209-
let previousVersion = m.Groups.[1].Value
210-
211-
if previousVersion = newVersion then
212-
failwith
213-
"You need to update the version in the CHANGELOG.md before publishing a new version of the REPL"
214-
else
215-
m.Groups.[0].Value
216-
.Replace(
217-
m.Groups.[1].Value,
218-
newVersion
219-
)
209+
m.Groups.[0].Value
210+
.Replace(
211+
m.Groups.[1].Value,
212+
newVersion
213+
)
220214
)
221215
)
222216
|> Seq.toArray
@@ -313,7 +307,7 @@ pipeline "Release" {
313307
whenEnvVar "GITHUB_TOKEN"
314308
whenBranch "main"
315309

316-
Stages.checkIfNewReleaseIsNeeded
310+
// Stages.checkIfNewReleaseIsNeeded
317311
Stages.clean
318312
Stages.donetRestore
319313
Stages.autoUpdateFableNpmPackages
@@ -329,8 +323,10 @@ pipeline "Release" {
329323
let changelogVersion = Changelog.getLastVersion ()
330324
let dateVersion = DateTime.Now.ToString("yyyy-MM-dd_HH-mm-ss")
331325

332-
// The release version include the date, because the REPL
333-
// is auto-released, when a new version of `fable-standalone` is released
326+
// The release version include the date, because we don't want to update
327+
// the REPL version each time a new fable-standalone version is released
328+
// This avoid doing dummy changelog entries, also for the user the
329+
// Fable version is available in the REPL website so it should be fine
334330
let releaseVersion =
335331
changelogVersion
336332
+ "-"

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)