Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 801583762794
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6aa872c0600b
Choose a head ref
  • 4 commits
  • 1 file changed
  • 2 contributors

Commits on May 15, 2021

  1. An optional branch parameter

    eggrobin committed May 15, 2021
    Copy the full SHA
    38b1013 View commit details
  2. assign

    eggrobin committed May 15, 2021
    Copy the full SHA
    c752fa3 View commit details
  3. Merge pull request #2986 from eggrobin/branch

    An optional branch parameter
    eggrobin authored May 15, 2021
    Copy the full SHA
    3cad2b6 View commit details
  4. Copy the full SHA
    6aa872c View commit details
Showing with 7 additions and 2 deletions.
  1. +7 −2 make_principia_release.ps1
9 changes: 7 additions & 2 deletions make_principia_release.ps1
Original file line number Diff line number Diff line change
@@ -2,21 +2,26 @@

"Usage:"
"make_principia_release mathematician culture date primary_ksp_version"
" compatibility_ksp_versions"
" compatibility_ksp_versions [branch]"
""
" ARGUMENT EXAMPLE VALUES"
" mathematician 陈景润"
" culture zh-CN"
" date 2017111812"
" primary_ksp_version 1.3.1"
" compatibility_ksp_versions @('1.2.1', '1.3.0')"
" branch Grassmannian"


$mathematician = $args[0]
$culture = new-object CultureInfo $args[1]
$date = $args[2]
$primary_ksp_version = $args[3]
$compatibility_ksp_versions = $args[4]
$branch = $args[5]
if (!$branch) {
$branch = 'master'
}

if ($culture.lcid -eq 0x1000) {
write-error ("Culture $culture has LCID 0x1000.")
@@ -50,7 +55,7 @@ if (test-path .\Release) {
rm .\Release -recurse
}

git checkout "$remote/master"
git checkout "$remote/$branch"
git tag $tag -m $mathematician

&$msbuild `