Skip to content

Commit 9c2e036

Browse files
committed
fix: repo rebase
0 parents  commit 9c2e036

File tree

432 files changed

+120596
-0
lines changed

Some content is hidden

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

432 files changed

+120596
-0
lines changed

.github/FUNDING.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# These are supported funding model platforms
2+
3+
github: Preliy
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
12+
polar: # Replace with a single Polar username
13+
buy_me_a_coffee: preliy
14+
thanks_dev: # Replace with a single thanks.dev username
15+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/workflows/build.yml

+115
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [master]
6+
workflow_dispatch:
7+
8+
jobs:
9+
build-package:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 0
17+
token: ${{ secrets.GITHUB_TOKEN }}
18+
19+
- name: Semantic release
20+
id: semantic
21+
uses: cycjimmy/semantic-release-action@v4
22+
with:
23+
extra_plugins: |
24+
@semantic-release/changelog
25+
@semantic-release/git
26+
env:
27+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
28+
29+
# Recreate the UPM (Release) branch for the latest version
30+
- name: Create UPM Branch
31+
if: steps.semantic.outputs.new_release_published == 'true'
32+
run: |
33+
echo Checking out UPM Branch
34+
git checkout master
35+
git config --global user.name preliy-bot
36+
git config --global user.email [email protected]
37+
git checkout -B upm
38+
39+
# Prep for release, hide Samples/ from Unity's compiler
40+
- name: Refactor/Hide Samples Folder
41+
if: steps.semantic.outputs.new_release_published == 'true'
42+
run: |
43+
echo Refactoring Samples
44+
if [[ -d "Samples" ]]; then
45+
git mv Samples Samples~
46+
rm -f Samples.meta
47+
fi
48+
49+
# Prep for release, hide Documentation/ from Unity's compiler
50+
- name: Refactor/Hide Documentation Folder
51+
if: steps.semantic.outputs.new_release_published == 'true'
52+
run: |
53+
echo Refactoring Documentation
54+
if [[ -d "Documentation" ]]; then
55+
git mv Documentation Documentation~
56+
rm -f Documentation.meta
57+
fi
58+
59+
# Prep for release, hide Tests/ from Unity's compiler
60+
- name: Refactor/Hide Tests Folder
61+
if: steps.semantic.outputs.new_release_published == 'true'
62+
run: |
63+
echo Refactoring Documentation
64+
if [[ -d "Tests" ]]; then
65+
git mv Tests Tests~
66+
rm -f Tests.meta
67+
fi
68+
69+
# RIf there's a new version, remove unwanted files from the upm branch
70+
- name: Remove CI Files
71+
if: steps.semantic.outputs.new_release_published == 'true'
72+
run: |
73+
echo Removing Continuous Integration Files
74+
rm -f ".releaserc.json"
75+
rm -rf ".github"
76+
rm -f ".gitignore"
77+
78+
# Push the UPM branch with this release
79+
- name: Push UPM Branch
80+
if: steps.semantic.outputs.new_release_published == 'true'
81+
run: |
82+
echo Pushing Release to UPM Branch
83+
git commit -am "Release v${{steps.semantic.outputs.new_release_version}}"
84+
git push -f -u origin upm
85+
86+
# Tag the UPM branch with this release
87+
- name: Tag UPM Branch
88+
if: steps.semantic.outputs.new_release_published == 'true'
89+
run: |
90+
git tag -f upm/v${{ steps.semantic.outputs.new_release_version }} upm
91+
git push -f origin --tags
92+
93+
# Create package tarball for release artifact
94+
- name: Create Tarball
95+
if: steps.semantic.outputs.new_release_published == 'true'
96+
run: |
97+
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
98+
99+
# Publish this tagged as a release
100+
- name: Publish New Repo Release
101+
if: steps.semantic.outputs.new_release_published == 'true'
102+
run: |
103+
echo Creating Release
104+
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}}"
105+
env:
106+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
107+
108+
# Upload package Tarball
109+
- name: Upload Release Artifact
110+
if: steps.semantic.outputs.new_release_published == 'true'
111+
run: |
112+
echo Uploading Package
113+
gh release upload upm/v${{ steps.semantic.outputs.new_release_version }} Preliy_Flange_${{ steps.semantic.outputs.new_release_version }}.tar.gz
114+
env:
115+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Whitespace-only changes.

.releaserc.json

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"tagFormat": "v${version}",
3+
"plugins": [
4+
["@semantic-release/commit-analyzer",
5+
{
6+
"preset": "angular",
7+
"releaseRules": [
8+
{
9+
"type": "docs",
10+
"scope": "README",
11+
"release": "patch"
12+
},
13+
{
14+
"type": "refactor",
15+
"release": "patch"
16+
}
17+
]
18+
}],
19+
"@semantic-release/release-notes-generator",
20+
["@semantic-release/changelog", { "preset": "angular" }],
21+
["@semantic-release/npm", { "npmPublish": false }],
22+
["@semantic-release/git", {
23+
"assets": ["package.json", "CHANGELOG.md"],
24+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
25+
}]
26+
]
27+
}

CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# 1.0.0 (2025-01-30)
2+
3+
4+
### Bug Fixes
5+
6+
* repo rebase ([bada01f](https://github.com/Preliy/Flange/commit/bada01fc548f7f2bc930c418b2ac963496d265d2))
7+
8+
## [1.0.1](https://github.com/Preliy/Flange/compare/v1.0.0...v1.0.1) (2025-01-30)
9+
10+
11+
### Bug Fixes
12+
13+
* README.md ([6a88369](https://github.com/Preliy/Flange/commit/6a883697a02a2e200577c4f8656f8b982e3f7c63))
14+
15+
# 1.0.0 (2025-01-30)
16+
17+
18+
### Features
19+
20+
* Update README.md ([d17ea21](https://github.com/Preliy/Flange/commit/d17ea211e314ccaaa7173638c148453be51c0602))

CHANGELOG.md.meta

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Documentation.meta

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Documentation/Resources.meta

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Documentation/Resources/Images.meta

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
244 KB
Loading

Documentation/Resources/Images/3DDelta.PNG.meta

+114
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
36.3 KB
Loading

0 commit comments

Comments
 (0)