mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Add: CI - Release for ESR #744
This commit is contained in:
parent
0641f9ad60
commit
0b9164e69d
2 changed files with 25 additions and 2 deletions
25
.github/workflows/release.yml
vendored
25
.github/workflows/release.yml
vendored
|
|
@ -32,6 +32,7 @@ jobs:
|
|||
needs: sync-branches
|
||||
strategy:
|
||||
matrix:
|
||||
mode: ["STANDARD", "ESR"]
|
||||
include:
|
||||
- name: "Lepton"
|
||||
branch: "master"
|
||||
|
|
@ -55,6 +56,20 @@ jobs:
|
|||
|
||||
echo -e "[Info]\nVer=${TAGVER}\nBranch=${BRANCH}" > LEPTON
|
||||
|
||||
- name: Processing for STANDARD
|
||||
if: matrix.mode == 'STANDARD'
|
||||
run: |
|
||||
rm css/leptonChromeESR.css
|
||||
rm css/leptonContentESR.css
|
||||
|
||||
- name: Processing for ESR
|
||||
if: matrix.mode == 'ESR'
|
||||
run: |
|
||||
sed -i "s/\.css/ESR\.css/g" userChrome.css
|
||||
sed -i "s/\.css/ESR\.css/g" userContent.css
|
||||
rm css/leptonChrome.css
|
||||
rm css/leptonContent.css
|
||||
|
||||
- name: Release Structure
|
||||
run: |
|
||||
# Remove unnecessary files
|
||||
|
|
@ -73,9 +88,17 @@ jobs:
|
|||
zip -rv ${{ matrix.name }}.zip chrome CREDITS LICENSE user.js install.sh install.ps1
|
||||
|
||||
- uses: softprops/action-gh-release@v1 # actions/create-release, actions/upload-release-asset is deprecated
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
if: matrix.mode == 'STANDARD'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
files: |
|
||||
${{ matrix.name }}.zip
|
||||
|
||||
- uses: softprops/action-gh-release@v1
|
||||
if: matrix.mode == 'ESR'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
files: |
|
||||
${{ matrix.name }}-ESR.zip
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Lepton",
|
||||
"version": "7.0.0",
|
||||
"version": "8.0.0",
|
||||
"description": "I respect proton UI and aim to improve it. ",
|
||||
"author": "alstjr7375 <alstjr7375@daum.net>",
|
||||
"license": "MPL 2.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue