diff --git a/.github/workflows/test-fb2cal.yml b/.github/workflows/test-fb2cal.yml index f99c071..3b05132 100644 --- a/.github/workflows/test-fb2cal.yml +++ b/.github/workflows/test-fb2cal.yml @@ -5,9 +5,9 @@ name: Test fb2cal on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: build: diff --git a/README.md b/README.md index d0c8b7a..6f2b474 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ https://pypi.org/project/fb2cal/ `pipenv install` 2. Install `fb2cal` module: `pipenv run pip install fb2cal` -3. Download [config/config-template.ini](https://raw.githubusercontent.com/mobeigi/fb2cal/master/config/config-template.ini) file and store it in `config/config.ini`. +3. Download [config/config-template.ini](https://raw.githubusercontent.com/mobeigi/fb2cal/main/config/config-template.ini) file and store it in `config/config.ini`. 4. Update the `config/config.ini` file and enter your Facebook email and password (no quotes). 5. Run the `fb2cal` module `pipenv run python -m fb2cal` diff --git a/fb2cal/__meta__.py b/fb2cal/__meta__.py index e230557..7d41654 100644 --- a/fb2cal/__meta__.py +++ b/fb2cal/__meta__.py @@ -12,7 +12,7 @@ __github_url__ = 'https://github.com/mobeigi/fb2cal' __github_short_url__ = 'https://git.io/fjMwr' -__github_assets_absolute_url__ = 'https://raw.githubusercontent.com/mobeigi/fb2cal/master' +__github_assets_absolute_url__ = 'https://raw.githubusercontent.com/mobeigi/fb2cal/main' __download_url__= f'https://github.com/mobeigi/fb2cal/archive/v{__version__}.tar.gz' diff --git a/setup.py b/setup.py index d89ee65..e1ce0d5 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ def read(fname, base_url, base_image_url): readme = readme.decode('utf8') # turn relative links into absolute ones readme = re.sub(r'`<([^>]*)>`__', - r'`\1 <' + base_url + r"/blob/master/\1>`__", + r'`\1 <' + base_url + r"/blob/main/\1>`__", readme) readme = re.sub(r"\.\. image:: /", ".. image:: " + base_image_url + "/", readme)