mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-05 22:20:54 +03:00
Merge pull request #228 from hugovk/rename-master-to-main
Rename master to main
This commit is contained in:
commit
73924dc8cf
2
.github/workflows/wheels.yml
vendored
2
.github/workflows/wheels.yml
vendored
|
@ -102,7 +102,7 @@ jobs:
|
||||||
python: "3.8"
|
python: "3.8"
|
||||||
macos-target: "11.0"
|
macos-target: "11.0"
|
||||||
env:
|
env:
|
||||||
BUILD_COMMIT: master
|
BUILD_COMMIT: main
|
||||||
PLAT: ${{ matrix.platform }}
|
PLAT: ${{ matrix.platform }}
|
||||||
MB_PYTHON_VERSION: ${{ matrix.python }}
|
MB_PYTHON_VERSION: ${{ matrix.python }}
|
||||||
TRAVIS_OS_NAME: ${{ matrix.os-name }}
|
TRAVIS_OS_NAME: ${{ matrix.os-name }}
|
||||||
|
|
|
@ -56,7 +56,7 @@ before_install:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# Maybe get and clean and patch source
|
# Maybe get and clean and patch source
|
||||||
- if [[ -n "$LATEST" ]]; then BUILD_COMMIT=master; fi
|
- if [[ -n "$LATEST" ]]; then BUILD_COMMIT=main; fi
|
||||||
- clean_code $REPO_DIR $BUILD_COMMIT
|
- clean_code $REPO_DIR $BUILD_COMMIT
|
||||||
- build_wheel $REPO_DIR $PLAT
|
- build_wheel $REPO_DIR $PLAT
|
||||||
- ls -l "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/"
|
- ls -l "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/"
|
||||||
|
|
|
@ -9,7 +9,7 @@ This repository creates wheels for tagged versions of Pillow::
|
||||||
:target: https://github.com/python-pillow/pillow-wheels/actions
|
:target: https://github.com/python-pillow/pillow-wheels/actions
|
||||||
:alt: GitHub Actions build status
|
:alt: GitHub Actions build status
|
||||||
|
|
||||||
.. image:: https://img.shields.io/travis/com/python-pillow/pillow-wheels/master.svg
|
.. image:: https://img.shields.io/travis/com/python-pillow/pillow-wheels/main.svg
|
||||||
:target: https://travis-ci.com/github/python-pillow/pillow-wheels
|
:target: https://travis-ci.com/github/python-pillow/pillow-wheels
|
||||||
:alt: Travis CI build status
|
:alt: Travis CI build status
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Define custom utilities
|
# Define custom utilities
|
||||||
# Test for macOS with [ -n "$IS_MACOS" ]
|
# Test for macOS with [ -n "$IS_MACOS" ]
|
||||||
|
|
||||||
ARCHIVE_SDIR=pillow-depends-master
|
ARCHIVE_SDIR=pillow-depends-main
|
||||||
|
|
||||||
# Package versions for fresh source builds
|
# Package versions for fresh source builds
|
||||||
FREETYPE_VERSION=2.11.0
|
FREETYPE_VERSION=2.11.0
|
||||||
|
@ -21,8 +21,8 @@ LIBXCB_VERSION=1.14
|
||||||
function pre_build {
|
function pre_build {
|
||||||
# Any stuff that you need to do before you start building the wheels
|
# Any stuff that you need to do before you start building the wheels
|
||||||
# Runs in the root directory of this repository.
|
# Runs in the root directory of this repository.
|
||||||
curl -fsSL -o pillow-depends-master.zip https://github.com/python-pillow/pillow-depends/archive/master.zip
|
curl -fsSL -o pillow-depends-main.zip https://github.com/python-pillow/pillow-depends/archive/main.zip
|
||||||
untar pillow-depends-master.zip
|
untar pillow-depends-main.zip
|
||||||
|
|
||||||
build_xz
|
build_xz
|
||||||
if [ -z "$IS_MACOS" ]; then
|
if [ -z "$IS_MACOS" ]; then
|
||||||
|
@ -139,7 +139,7 @@ function run_tests {
|
||||||
python3 -m pip install numpy
|
python3 -m pip install numpy
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mv ../pillow-depends-master/test_images/* ../Pillow/Tests/images
|
mv ../pillow-depends-main/test_images/* ../Pillow/Tests/images
|
||||||
|
|
||||||
# Runs tests on installed distribution from an empty directory
|
# Runs tests on installed distribution from an empty directory
|
||||||
(cd ../Pillow && run_tests_in_repo)
|
(cd ../Pillow && run_tests_in_repo)
|
||||||
|
|
|
@ -7,7 +7,7 @@ if [ $# -eq 0 ]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git checkout master
|
git checkout main
|
||||||
git submodule update --init Pillow
|
git submodule update --init Pillow
|
||||||
cd Pillow
|
cd Pillow
|
||||||
git fetch --all
|
git fetch --all
|
||||||
|
|
Loading…
Reference in New Issue
Block a user