feat: ajout d'une "notification" dans la navbar si une nouvelle versions est disponible
feat: activation de l'import manuel
This commit is contained in:
1 parent
71961eb998
commit
c94ff7da3f
6 files changed
+198
-60
No files matched your search
@@ -111,14 +111,14 @@ jobs:
|
||||
run: bun build server/organize-worker.ts --target node --outfile organize-worker.js
|
||||
|
||||
- name: Package archive (Windows)
|
||||
if: matrix.target == 'windows-x64'
|
||||
run: Compress-Archive -Path ${{ matrix.binary }}, organize-worker.js, public -DestinationPath ${{ matrix.archive }}
|
||||
if: matrix.target == 'windows-x64' || matrix.target == 'windows-x64-legacy'
|
||||
run: Compress-Archive -Path ${{ matrix.binary }}, organize-worker.js, public, version.txt -DestinationPath ${{ matrix.archive }}
|
||||
shell: pwsh
|
||||
|
||||
- name: Package archive (Unix)
|
||||
if: matrix.target != 'windows-x64'
|
||||
if: matrix.target != 'windows-x64' && matrix.target != 'windows-x64-legacy'
|
||||
run: |
|
||||
zip -r ${{ matrix.archive }} ${{ matrix.binary }} organize-worker.js public/
|
||||
zip -r ${{ matrix.archive }} ${{ matrix.binary }} organize-worker.js public/ version.txt
|
||||
|
||||
- name: Upload archive to Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
|
||||
@@ -9,8 +9,28 @@ name: release-please
|
||||
jobs:
|
||||
release-please:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
release_created: ${{ steps.release.outputs.release_created }}
|
||||
tag_name: ${{ steps.release.outputs.tag_name }}
|
||||
steps:
|
||||
- uses: googleapis/release-please-action@v4
|
||||
id: release
|
||||
with:
|
||||
token: ${{ secrets.FINED_TOKEN }}
|
||||
release-type: simple
|
||||
release-type: simple
|
||||
|
||||
# Quand une release est créée, on écrit version.txt et on le committe
|
||||
- uses: actions/checkout@v4
|
||||
if: ${{ steps.release.outputs.release_created }}
|
||||
with:
|
||||
token: ${{ secrets.FINED_TOKEN }}
|
||||
|
||||
- name: Write version.txt
|
||||
if: ${{ steps.release.outputs.release_created }}
|
||||
run: |
|
||||
echo "${{ steps.release.outputs.tag_name }}" > version.txt
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add version.txt
|
||||
git commit -m "chore: update version.txt to ${{ steps.release.outputs.tag_name }}"
|
||||
git push
|
||||
Reference in new issue
Block a user