-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
19bc517
commit 5e9aab7
Showing
12 changed files
with
141 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
115 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
'''# zapsCoolPhotonTheme for Firefox 126 and Firefox 115.11esr | ||
`zapsCoolPhotonTheme-v126.zip` is for Firefox 126. | ||
`zapsCoolPhotonTheme-115esr.zip` is for Firefox 115esr. | ||
### Changes | ||
* Add `uc.always-show-close-button` which always shows the tab close button even when overflowing.(#3) | ||
* The sidebar should now respect your color theme. (#4) | ||
* Search bar has now been photonized. | ||
* Padding adjustements and fixes. | ||
* Other fixes for Firefox 127. | ||
____ | ||
Corresponding Webextension Version: [v0.0.0](https://github.com/zapSNH/zcpt-webextension/releases/tag/v0.0.0) | ||
____ | ||
**Full Changelog**: https://github.com/zapSNH/zapsCoolPhotonTheme/compare/v125...v126''' | ||
import sys | ||
|
||
def create_relnotes(ver_v): | ||
current_esr = open(".github/workflows/ESR_VERSION", 'r').read() | ||
ver = ver_v.replace("v", "") | ||
ver_string = "v" + str(int(ver)-1) + "...v" + ver | ||
notes = \ | ||
f'''# zapsCoolPhotonTheme for Firefox {ver} and Firefox {current_esr}esr | ||
`zapsCoolPhotonTheme-v{ver}.zip` is for Firefox {ver}. | ||
`zapsCoolPhotonTheme-v{ver}-esr.zip` is for Firefox {current_esr}esr. | ||
### Changes | ||
* TBA | ||
____ | ||
Corresponding Webextension Version: [v0.0.0](https://github.com/zapSNH/zcpt-webextension/releases/tag/v0.0.0) | ||
____ | ||
**Full Changelog**: https://github.com/zapSNH/zapsCoolPhotonTheme/compare/{ver_string}''' | ||
f = open('relnotes.md', 'w') | ||
f.write(notes) | ||
f.close() | ||
|
||
if __name__ == '__main__': | ||
globals()[sys.argv[1]](sys.argv[2]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: check current esr version | ||
id: getesr | ||
run: | | ||
echo "version=$(cat ./.github/workflows/ESR_VERSION)" >> $GITHUB_OUTPUT | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ steps.getesr.outputs.version }}esr | ||
|
||
- name: add gh bot creds | ||
run: | | ||
git config user.name 'github-actions[bot]' | ||
git config user.email 'github-actions[bot]@users.noreply.github.com' | ||
- name: zip files & stash | ||
run: | | ||
rm -rf ./.github | ||
zip -r -FS zapsCoolPhotonTheme-${{ github.ref_name }}-esr.zip * | ||
git add zapsCoolPhotonTheme-${{ github.ref_name }}-esr.zip | ||
git stash push zapsCoolPhotonTheme-${{ github.ref_name }}-esr.zip | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
ref: main | ||
|
||
- name: release notes | ||
run: | | ||
python3 .github/workflows/create_relnotes.py create_relnotes ${{ github.ref_name }} | ||
- name: zip files | ||
run: | | ||
rm -rf ./.github | ||
zip -r -FS zapsCoolPhotonTheme-${{ github.ref_name }}.zip * | ||
git stash pop | ||
- name: release | ||
uses: softprops/action-gh-release@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.TOKEN }} | ||
with: | ||
body_path: relnotes.md | ||
files: | | ||
zapsCoolPhotonTheme-${{ github.ref_name }}.zip | ||
zapsCoolPhotonTheme-${{ github.ref_name }}-esr.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
chrome/resources/icons/forks/librewolf/librewolf-grayscale.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters