Skip to content

Commit

Permalink
Merge pull request #125 from mobeigi/change-master-to-main
Browse files Browse the repository at this point in the history
Change default branch from master to main
  • Loading branch information
mobeigi authored Aug 21, 2024
2 parents ead6b29 + 5ab37de commit 388bd56
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-fb2cal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Test fb2cal

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion fb2cal/__meta__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 388bd56

Please sign in to comment.