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: 04e5956c804c
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4ceffea2294f
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Feb 23, 2020

  1. Copy the full SHA
    7efbde0 View commit details
  2. Merge pull request #2480 from pleroy/Releasing

    Releasing with Azure pipelines
    pleroy authored Feb 23, 2020
    Copy the full SHA
    4ceffea View commit details
Showing with 6 additions and 15 deletions.
  1. +6 −15 documentation/Releasing.md
21 changes: 6 additions & 15 deletions documentation/Releasing.md
Original file line number Diff line number Diff line change
@@ -7,25 +7,16 @@ is called `la-vache`. `<Mathematician>` and `<mathematician>` stand for the ver
names with the appropriate cases.
- [ ] Make sure that the fingerprints for detecting and fixing the stock system are up-to-date.
- [ ] Check that the release name, release date, and lunation number for the following update, used by the update reminder, are correctly set in the main window.
- [ ] Make sure that the project can be built and tested under Linux.
- [ ] Make sure that the latest runs of the [Azure pipelines](https://dev.azure.com/mockingbirdnest/Principia/_build) for Ubuntu and MacOS are [green](https://www.youtube.com/watch?v=lFeLDc2CzOs&feature=youtu.be&t=61).
- [ ] Run the following command, where:
- `yyyyMMddHH` is the date of the new moon in UT1,
- `<language>` is the language code for the language in which `<Mathematician>` is written,
- `1.x.y` is the primary KSP version (the latest version targeted by the `Release` configuration), and
- `"1.u.v"…` is the (possibly empty) comma-separated list of supported KSP versions that require a separate build, where each version number is quoted.
- `"1.u.v"…` is the (possibly empty) comma-separated list of supported KSP versions that require a separate build, where each version number is quoted.
```powershell
.\make_principia_release "<Mathematician>" "<language>" "yyyyMMddHH" "1.x.y" @("1.u.v"…)
.\make_principia_release "<Mathematician>" "<language>" "yyyyMMddHH" "1.x.y" @("1.u.v"…)
```
This creates `<root>\principia <mathematician> for 1.x.y.zip`, as well as `<root>\principia <mathematician> for 1.u.v.zip` as appropriate.
- [ ] Go to a Linux machine and checkout the newly created tag:
```shell
git fetch la-vache
git checkout $(git tag | tail -1)
```
- [ ] Build the Linux binary:
```shell
make test
make release
```
- [ ] Get the binary from the Linux machine and add the `Linux64` directory to the zip files (next to `x64`).
- [ ] Repeat the previous three steps on a Mac.
- [ ] The Azure pipelines will start building the Ubuntu and MacOS releases as soon as the new tag is pushed. This should take about 1 hour.
- [ ] Download the artifacts produced by each pipeline: go to the run for the tag, click on the published artifact, expand `Principia` and `Release`, then download `principia_Linux-yyyyMMddHH-Mathematician-0-g*.tar.gz` and `principia_Darwin-yyyyMMddHH-Mathematician-0-g*.tar.gz`, respectively.
- [ ] Open the `.tar.gz` files and move the `Linux64` and `MacOS64` directories to the `Principia` directory of the `<root>\principia <mathematician> for 1.x.y.zip` archive, and of the `<root>\principia <mathematician> for 1.u.v.zip` as appropriate.