Skip to content

Commit

Permalink
Publish 2.2.0-beta-010
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsogarciacaro committed Feb 21, 2019
1 parent 0b7fcd3 commit 027307b
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 13 deletions.
6 changes: 5 additions & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ let buildStandalone() =
getFullPathsInDirectoryRecursively libraryTarget
|> Array.filter (fun file -> file.EndsWith(".js"))
|> Array.iter (fun file ->
reg.Replace(readFile file, "import $1.js$2")
reg.Replace(readFile file, fun m ->
let fst = m.Groups.[1].Value
if fst.EndsWith(".js") then m.Value
else sprintf "import %s.js%s" fst m.Groups.[2].Value)
|> writeFile file)

// Bump version
Expand Down Expand Up @@ -151,6 +154,7 @@ let githubRelease() =
try
let ghreleases: GhRealeases = JsInterop.importAll "ghreleases"
let! version, notes = Publish.loadReleaseVersionAndNotes "src/fable-compiler"
run <| sprintf "git commit -am \"Release %s\" && git push" version
let! res = ghreleases.create(user, token, "fable-compiler", "Fable", version, String.concat "\n" notes) |> Async.AwaitPromise
printfn "Github release %s created successfully" version
with ex ->
Expand Down
2 changes: 1 addition & 1 deletion src/Fable.Cli/Util.fs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ namespace Fable.Cli

module Literals =

let [<Literal>] VERSION = "2.2.0-beta-008"
let [<Literal>] VERSION = "2.2.0-beta-010"
let [<Literal>] CORE_VERSION = "2.1.0"
let [<Literal>] DEFAULT_PORT = 61225
let [<Literal>] FORCE = "force:"
Expand Down
4 changes: 4 additions & 0 deletions src/fable-compiler-js/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 1.0.0-beta-002

* Added project options parsing @ncave

### 1.0.0-beta-001

* Beta release @ncave
Expand Down
8 changes: 4 additions & 4 deletions src/fable-compiler-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/fable-compiler-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fable-compiler-js",
"version": "1.0.0-beta-001",
"version": "1.0.0-beta-002",
"main": "index.js",
"bin": {
"fable": "index.js"
Expand All @@ -26,6 +26,6 @@
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"fable-babel-plugins": "^2.1.0",
"fable-metadata": "^1.0.0-beta-002",
"fable-standalone": "^1.0.0-beta-004"
"fable-standalone": "^1.0.0-beta-007"
}
}
2 changes: 1 addition & 1 deletion src/fable-compiler/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### 2.2.0-beta-008
### 2.2.0-beta-010

* Anonymous records!

Expand Down
2 changes: 1 addition & 1 deletion src/fable-compiler/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/fable-compiler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fable-compiler",
"version": "2.2.0-beta-008",
"version": "2.2.0-beta-010",
"main": "dist/index.js",
"description": "Fable compiler",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/fable-standalone/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### 1.0.0-beta-005
### 1.0.0-beta-007

* Anonymous records

Expand Down
2 changes: 1 addition & 1 deletion src/fable-standalone/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fable-standalone",
"version": "1.0.0-beta-005",
"version": "1.0.0-beta-007",
"main": "dist/commonjs/index.js",
"description": "Fable compiler",
"keywords": [
Expand Down

0 comments on commit 027307b

Please sign in to comment.