mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Updates for build info for react release
This commit is contained in:
parent
c4df1b5dd7
commit
379656bc2b
4
.github/workflows/react_release.yml
vendored
4
.github/workflows/react_release.yml
vendored
@ -38,6 +38,9 @@ jobs:
|
|||||||
sudo php artisan cache:clear
|
sudo php artisan cache:clear
|
||||||
sudo find ./vendor/bin/ -type f -exec chmod +x {} \;
|
sudo find ./vendor/bin/ -type f -exec chmod +x {} \;
|
||||||
sudo find ./ -type d -exec chmod 755 {} \;
|
sudo find ./ -type d -exec chmod 755 {} \;
|
||||||
|
- name: Set current date to variable
|
||||||
|
id: set_date
|
||||||
|
run: echo "current_date=$(date '+%Y-%m-%d')" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Prepare React FrontEnd
|
- name: Prepare React FrontEnd
|
||||||
run: |
|
run: |
|
||||||
@ -46,6 +49,7 @@ jobs:
|
|||||||
git checkout develop
|
git checkout develop
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
cp ../vite.config.ts.react ./vite.config.js
|
cp ../vite.config.ts.react ./vite.config.js
|
||||||
|
sed -i '/"version"/c\ "version": " Latest Build - ${{ env.current_date }}",' package.json
|
||||||
npm i
|
npm i
|
||||||
npm run build
|
npm run build
|
||||||
cp -r dist/* ../public/
|
cp -r dist/* ../public/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user