File tree Expand file tree Collapse file tree 11 files changed +29
-39
lines changed
Expand file tree Collapse file tree 11 files changed +29
-39
lines changed Original file line number Diff line number Diff line change 4848 "containerEnv" : {
4949 // Expose the local environment variable to the container
5050 // They are used for releasing and publishing from the container
51- "GITHUB_TOKEN " : " ${localEnv:GITHUB_TOKEN }" ,
51+ "GITHUB_TOKEN_FABLE_ORG " : " ${localEnv:GITHUB_TOKEN_FABLE_ORG }" ,
5252 "FABLE_NUGET_KEY" : " ${localEnv:FABLE_NUGET_KEY}"
5353 },
5454
Original file line number Diff line number Diff line change @@ -41,39 +41,30 @@ let private createTag (version: ChangelogParser.Types.Version) =
4141 |> CmdLine.toString
4242 )
4343
44- Command.Run(
45- " git" ,
46- CmdLine.empty
47- |> CmdLine.appendRaw " tag"
48- |> CmdLine.appendPrefix " -a" ( versionText)
49- |> CmdLine.appendPrefix " -m" $" Release {versionText}"
50- |> CmdLine.toString
51- )
44+ // Command.Run(
45+ // "git",
46+ // CmdLine.empty
47+ // |> CmdLine.appendRaw "tag"
48+ // |> CmdLine.appendPrefix "-a" (versionText)
49+ // |> CmdLine.appendPrefix "-m" $"Release {versionText}"
50+ // |> CmdLine.toString
51+ // )
5252
5353 Command.Run(
5454 " git" ,
5555 " push"
5656 )
5757
58- Command.Run(
59- " git" ,
60- CmdLine.empty
61- |> CmdLine.appendRaw " push"
62- |> CmdLine.appendRaw " origin"
63- |> CmdLine.appendRaw versionText
64- |> CmdLine.toString
65- )
66-
6758
6859let handle ( args : string list ) =
6960 Publish.handle args
7061
71- let githubToken = Environment.GetEnvironmentVariable( " GITHUB_TOKEN " )
62+ let githubToken = Environment.GetEnvironmentVariable( " GITHUB_TOKEN_FABLE_ORG " )
7263
7364 if githubToken = null then
74- failwith " Missing GITHUB_TOKEN environment variable"
65+ failwith " Missing GITHUB_TOKEN_FABLE_ORG environment variable"
7566
7667 let versionInfo = Changelog.getLastVersion Changelog.fableCLi
7768
78- createGithubRelease githubToken versionInfo
7969 createTag versionInfo
70+ createGithubRelease githubToken versionInfo
Original file line number Diff line number Diff line change @@ -75,8 +75,7 @@ let private publishNuget (fsprojDir : string) =
7575 let updatedFsprojContent = Fsproj.replaceVersion fsprojContent lastChangelogVersion
7676 File.WriteAllText( fsprojPath, updatedFsprojContent)
7777 let nupkgPath = Dotnet.pack fsprojDir
78- let nupkgFolder = Path.GetDirectoryName nupkgPath
79- Dotnet.Nuget.push( nupkgFolder, nugetKey)
78+ Dotnet.Nuget.push( nupkgPath, nugetKey)
8079 printfn $" Published!"
8180 else
8281 printfn $" Already up-to-date, skipping..."
Original file line number Diff line number Diff line change @@ -7,22 +7,12 @@ module Dotnet =
77
88 type Nuget =
99
10- static member push ( projectDir : string , nugetKey : string ) =
10+ static member push ( nupkgPath : string , nugetKey : string ) =
1111 Command.Run(
1212 " dotnet" ,
13- " nuget push *.nupkg -s https://api.nuget.org/v3/index.json" ,
14- workingDirectory = projectDir
13+ $" nuget push {nupkgPath} -s https://api.nuget.org/v3/index.json -k {nugetKey}"
1514 )
1615
17- static member push
18- (
19- projectDir : string ,
20- nugetKey : string ,
21- preBuildAction : unit -> unit
22- ) =
23- preBuildAction ()
24- Nuget.push( projectDir, nugetKey)
25-
2616 let pack ( projectDir : string ) =
2717 let struct ( standardOutput , _ ) =
2818 Command.ReadAsync(
Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## Unreleased
88
9+ ## 4.3.0
10+
11+ ### Added
12+
13+ * Add ` Attributes ` to ` MemberRefInfo `
14+
915## 4.2.1
1016
1117* Get sources from PluginHelper
Original file line number Diff line number Diff line change 55 <Description >Fable AST</Description >
66 <TargetFramework >netstandard2.0</TargetFramework >
77 <GenerateDocumentationFile >true</GenerateDocumentationFile >
8- <Version >4.2.1 </Version >
8+ <Version >4.3.0 </Version >
99 </PropertyGroup >
1010 <ItemGroup >
1111 <Compile Include =" Common.fs" />
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## Unreleased
88
9+ ## 4.2.0
10+
911* Fix #3480 : Function decorated with ` [<NamedParams>] ` without arguments provided should take an empty object
1012* Fix #3494 : Calling an attached parametrized getter fails in transpiled javascript
1113* Remove fable-py support
Original file line number Diff line number Diff line change 44 <DisableImplicitFSharpCoreReference >true</DisableImplicitFSharpCoreReference >
55 <OutputType >Exe</OutputType >
66 <TargetFramework >net6.0</TargetFramework >
7- <Version >4.1.4 </Version >
7+ <Version >4.2.0 </Version >
88 <PackageReleaseNotes >* Fix #3438: Source maps
99* Fix #3440: Don't curry arity-1 functions
1010* Fix #3452: DateTimeOffset conversion to DateTime
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## Unreleased
88
9+ ## 4.1.0
10+
911* Fix #3482 : Remove ` Py.python ` and ` Py.expr_python `
1012* Add ` !^ ` to ` Fable.Core.RustInterop ` module
1113* Fix #3484 : Rename ` emitStatement ` to ` emitPyStatement ` in ` PyInterop `
Original file line number Diff line number Diff line change 55 <Description >Fable Core Library</Description >
66 <TargetFramework >netstandard2.0</TargetFramework >
77 <GenerateDocumentationFile >true</GenerateDocumentationFile >
8- <Version >4.0 .0</Version >
8+ <Version >4.1 .0</Version >
99 <PublishRepositoryUrl >true</PublishRepositoryUrl >
1010 </PropertyGroup >
1111 <ItemGroup >
You can’t perform that action at this time.
0 commit comments