From 5ab37deebd8b6bbd692cb7bc8b2dfaf7b405c3a6 Mon Sep 17 00:00:00 2001 From: Mo Beigi Date: Thu, 22 Aug 2024 02:40:56 +1000 Subject: [PATCH] Change branch refs from master to main --- .github/workflows/test-fb2cal.yml | 4 ++-- README.md | 2 +- fb2cal/__meta__.py | 2 +- setup.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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)