Skip to content

Commit

Permalink
Add release instructions on how to update the rc feedstock channel
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Dec 4, 2024
1 parent 9be7c3f commit 5a43861
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,37 @@ For that you need to run the following commands:

- Publish the release to Conda-forge by doing a PR against the `rc` branch of the [spyder-feedstock repo](https://github.com/conda-forge/spyder-feedstock).

- Create branch for the update

git checkout rc
git fetch upstream
git merge upstream/rc
git checkout -b update_X.X.Xrc1

- Update `rc` branch in the Spyder feedstock with the latest changes in the `main` one:

- Create a patch between the branches and apply it

git checkout main
git fetch upstream
git merge upstream/main
git diff main rc > update.patch
patch -p1 -R < update.patch

- Revert changes to every file outside the `recipe` directory, except for `conda-forge.yml`. They will be applied when re-rendering the feedstock.

- Restore `recipe/conda_build_config.yaml` (that file contains the info to use a different channel).

- Fix conflicts, if any, and add new files.

- Commit with `Update rc channel`.

- Update the Spyder version to the rc one just released and reset build number to `0`.

- Create PR with the title `Update to X.X.Xrc1`

- Re-render the feedstock.

- Publish the release in our [Github Releases page](https://github.com/spyder-ide/spyder/releases) to check the installers are built as expected.

- Download and test the installation of the resulting installers.
Expand Down

0 comments on commit 5a43861

Please sign in to comment.