Skip to content

Commit f549c07

Browse files
committed
moved generator files to another repo
1 parent 7963500 commit f549c07

File tree

2,019 files changed

+1653639
-111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,019 files changed

+1653639
-111
lines changed

.github/workflows/build.yml

+6-15
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77
push:
88
branches:
9-
- main
9+
- gh-pages
1010

1111
jobs:
1212
build:
@@ -17,27 +17,18 @@ jobs:
1717
with:
1818
php-version: '8.1'
1919

20-
- name: "Merge changes"
20+
- name: "Generate diffs"
2121
run: |
2222
git config --global user.name 'Version Bot'
2323
git config --global user.email 'version-bot@users.noreply.github.com'
24-
git fetch
25-
git switch -c gh-pages
26-
git merge --allow-unrelated-histories -X theirs origin/main
27-
php generate-diffs.php
24+
curl --output generate-diffs.php https://raw.githubusercontent.com/laravel-upgrade-helper/laravel-diff-generator/main/generate-diffs.php
25+
php ./generate-diffs.php
2826
LATEST_VERSION=$(tail -n 1 tags.txt)
29-
echo "LATEST_VERSION=$LATEST_VERSION" >> $GITHUB_ENV
30-
31-
- name: "Push to gh-pages"
32-
run: |
3327
LATEST_VERSION_ON_PROD=$(curl -s https://laravel-upgrade-helper.github.io/tags.txt | tail -n 1)
34-
echo "$LATEST_VERSION_ON_PROD"
35-
if [[ $LATEST_VERSION_ON_PROD != "${{ env.LATEST_VERSION }}" ]]; then
36-
chmod +x ./cleanup-for-website.sh
37-
./cleanup-for-website.sh
28+
if [[ git diff ./tags.txt ]]; then
3829
git add .
3930
git commit -m "[Version-Bot] Add Laravel Version"
40-
git push -f origin gh-pages
31+
git push origin gh-pages
4132
else
4233
echo "No new version!"
4334
fi

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
/diffs/
21
/laravel/
3-
/tags.txt
2+
/generate-diffs.php

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
![image](https://user-images.githubusercontent.com/3058102/190493912-95aa862f-0428-4431-8143-cc80f593dace.png)
44

5-
This repository contains scripts that generates diff files for Laravel upgrade helper.
5+
This repository contains webpage files for Laravel upgrade helper.
66

77
## Start Using Now
88

99
[:globe_with_meridians: Laravel Upgrade Helper](https://laravel-upgrade-helper.github.io/)
1010

1111
## Why This Project ?
1212

13-
We know that Laravel has **release notes**, we have Laravel **docs** also we have **Laravel Shift.** We know all these but we wanted to quick look what we should update when we are upgrading our project. We build this tool for internal purposes and now decided to open source it. Hope that it will be useful for you too.
13+
We know that Laravel has **release notes**, we have Laravel **docs** also we have **Laravel Shift.** We know all these, but we wanted to quick look what we should update when we are upgrading our project. We build this tool for internal purposes and now decided to open source it. Hope that it will be useful for you too.
1414

1515
## Goals
1616

cleanup-for-website.sh

-8
This file was deleted.

diffs/v5.5.0...v5.5.22.diff

+287
Large diffs are not rendered by default.

diffs/v5.5.0...v5.5.28.diff

+386
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)