-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
0 parents
commit 9c2e036
Showing
432 changed files
with
120,596 additions
and
0 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,15 @@ | ||
# These are supported funding model platforms | ||
|
||
github: Preliy | ||
patreon: # Replace with a single Patreon username | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: # Replace with a single Ko-fi username | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
liberapay: # Replace with a single Liberapay username | ||
issuehunt: # Replace with a single IssueHunt username | ||
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry | ||
polar: # Replace with a single Polar username | ||
buy_me_a_coffee: preliy | ||
thanks_dev: # Replace with a single thanks.dev username | ||
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] |
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 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-package: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Semantic release | ||
id: semantic | ||
uses: cycjimmy/semantic-release-action@v4 | ||
with: | ||
extra_plugins: | | ||
@semantic-release/changelog | ||
@semantic-release/git | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
|
||
# Recreate the UPM (Release) branch for the latest version | ||
- name: Create UPM Branch | ||
if: steps.semantic.outputs.new_release_published == 'true' | ||
run: | | ||
echo Checking out UPM Branch | ||
git checkout master | ||
git config --global user.name preliy-bot | ||
git config --global user.email preliyex@gmail.com | ||
git checkout -B upm | ||
# Prep for release, hide Samples/ from Unity's compiler | ||
- name: Refactor/Hide Samples Folder | ||
if: steps.semantic.outputs.new_release_published == 'true' | ||
run: | | ||
echo Refactoring Samples | ||
if [[ -d "Samples" ]]; then | ||
git mv Samples Samples~ | ||
rm -f Samples.meta | ||
fi | ||
# Prep for release, hide Documentation/ from Unity's compiler | ||
- name: Refactor/Hide Documentation Folder | ||
if: steps.semantic.outputs.new_release_published == 'true' | ||
run: | | ||
echo Refactoring Documentation | ||
if [[ -d "Documentation" ]]; then | ||
git mv Documentation Documentation~ | ||
rm -f Documentation.meta | ||
fi | ||
# Prep for release, hide Tests/ from Unity's compiler | ||
- name: Refactor/Hide Tests Folder | ||
if: steps.semantic.outputs.new_release_published == 'true' | ||
run: | | ||
echo Refactoring Documentation | ||
if [[ -d "Tests" ]]; then | ||
git mv Tests Tests~ | ||
rm -f Tests.meta | ||
fi | ||
# RIf there's a new version, remove unwanted files from the upm branch | ||
- name: Remove CI Files | ||
if: steps.semantic.outputs.new_release_published == 'true' | ||
run: | | ||
echo Removing Continuous Integration Files | ||
rm -f ".releaserc.json" | ||
rm -rf ".github" | ||
rm -f ".gitignore" | ||
# Push the UPM branch with this release | ||
- name: Push UPM Branch | ||
if: steps.semantic.outputs.new_release_published == 'true' | ||
run: | | ||
echo Pushing Release to UPM Branch | ||
git commit -am "Release v${{steps.semantic.outputs.new_release_version}}" | ||
git push -f -u origin upm | ||
# Tag the UPM branch with this release | ||
- name: Tag UPM Branch | ||
if: steps.semantic.outputs.new_release_published == 'true' | ||
run: | | ||
git tag -f upm/v${{ steps.semantic.outputs.new_release_version }} upm | ||
git push -f origin --tags | ||
# Create package tarball for release artifact | ||
- name: Create Tarball | ||
if: steps.semantic.outputs.new_release_published == 'true' | ||
run: | | ||
mkdir package && find . -maxdepth 1 ! -name "package" ! -name "." -exec mv {} package/ \; && tar -czf Preliy_Flange_${{steps.semantic.outputs.new_release_version}}.tar.gz package/ && shopt -s dotglob && mv package/* ./ && rmdir package | ||
# Publish this tagged as a release | ||
- name: Publish New Repo Release | ||
if: steps.semantic.outputs.new_release_published == 'true' | ||
run: | | ||
echo Creating Release | ||
gh release create upm/v${{steps.semantic.outputs.new_release_version}} -t "Release ${{steps.semantic.outputs.new_release_version}}" -n "${{steps.semantic.outputs.new_release_notes}}" | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
|
||
# Upload package Tarball | ||
- name: Upload Release Artifact | ||
if: steps.semantic.outputs.new_release_published == 'true' | ||
run: | | ||
echo Uploading Package | ||
gh release upload upm/v${{ steps.semantic.outputs.new_release_version }} Preliy_Flange_${{ steps.semantic.outputs.new_release_version }}.tar.gz | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Empty file.
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,27 @@ | ||
{ | ||
"tagFormat": "v${version}", | ||
"plugins": [ | ||
["@semantic-release/commit-analyzer", | ||
{ | ||
"preset": "angular", | ||
"releaseRules": [ | ||
{ | ||
"type": "docs", | ||
"scope": "README", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "refactor", | ||
"release": "patch" | ||
} | ||
] | ||
}], | ||
"@semantic-release/release-notes-generator", | ||
["@semantic-release/changelog", { "preset": "angular" }], | ||
["@semantic-release/npm", { "npmPublish": false }], | ||
["@semantic-release/git", { | ||
"assets": ["package.json", "CHANGELOG.md"], | ||
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" | ||
}] | ||
] | ||
} |
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,20 @@ | ||
# 1.0.0 (2025-01-30) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* repo rebase ([bada01f](https://github.com/Preliy/Flange/commit/bada01fc548f7f2bc930c418b2ac963496d265d2)) | ||
|
||
## [1.0.1](https://github.com/Preliy/Flange/compare/v1.0.0...v1.0.1) (2025-01-30) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* README.md ([6a88369](https://github.com/Preliy/Flange/commit/6a883697a02a2e200577c4f8656f8b982e3f7c63)) | ||
|
||
# 1.0.0 (2025-01-30) | ||
|
||
|
||
### Features | ||
|
||
* Update README.md ([d17ea21](https://github.com/Preliy/Flange/commit/d17ea211e314ccaaa7173638c148453be51c0602)) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.