-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: v1.3.0 changes from release branch
- Loading branch information
Showing
57 changed files
with
724 additions
and
787 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,23 @@ | ||
#!/bin/sh | ||
|
||
COMMIT_MESSAGE="$(head -n1 "$1")" | ||
COMMIT_MESSAGE_REGEX="^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([a-z ]+\))?: .+$" | ||
AUTO_COMMIT_MESSAGE_REGEX="^Merge (pull request|branch) [a-zA-Z0-9#'_/-]+ (of [a-zA-Z0-9#':_. /-]+ )?(from|into) [a-zA-Z0-9#':_. /-]+$" | ||
|
||
|
||
if [[ $COMMIT_MESSAGE =~ $COMMIT_MESSAGE_REGEX || $COMMIT_MESSAGE =~ $AUTO_COMMIT_MESSAGE_REGEX ]]; then | ||
exit 0 | ||
else | ||
echo "Invalid commit message format:" | ||
echo "Your message: '${COMMIT_MESSAGE}'" | ||
echo "" | ||
echo "Please use the following format:" | ||
echo "<type>(<scope>): <subject>" | ||
echo "" | ||
echo " the (<scope>) part is optional" | ||
echo "" | ||
echo "Examples:" | ||
echo "feat(login): add support for email login" | ||
echo "fix: fix issue with user profile image upload" | ||
exit 1 | ||
fi |
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,30 @@ | ||
#!/bin/sh | ||
|
||
# Gitflow branching and naming strategy enforcement for Windows and Mac | ||
|
||
protected_branches="^(main|develop|hotfix/|release/|feature/)" | ||
current_branch=$(git symbolic-ref HEAD | sed 's!refs/heads/!!') | ||
|
||
# Ensure the branch name adheres to the Gitflow naming strategy | ||
if ! [[ ${current_branch} =~ ${protected_branches} ]]; then | ||
echo "Error: The current branch '${current_branch}' does not adhere to the Gitflow naming strategy." | ||
echo "Branch names must match the following patterns: main, develop, hotfix/*, release/*, feature/*." | ||
exit 1 | ||
fi | ||
|
||
# Check if pushing to the correct remote branch | ||
remote_branch=$(git for-each-ref --format='%(upstream:short)' $(git symbolic-ref -q HEAD)) | ||
if [[ -z "${remote_branch}" ]]; then | ||
echo "Error: The current branch '${current_branch}' has no tracking remote branch." | ||
exit 1 | ||
fi | ||
|
||
remote_name=$(echo ${remote_branch} | cut -d/ -f1) | ||
remote_branch_name=$(echo ${remote_branch} | cut -d/ -f2-) | ||
|
||
if [[ "${current_branch}" != "${remote_branch_name}" ]]; then | ||
echo "Error: The current branch '${current_branch}' must be pushed to a remote branch with the same name: '${remote_name}/${current_branch}'." | ||
exit 1 | ||
fi | ||
|
||
exit 0 |
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 |
---|---|---|
@@ -1,12 +1,11 @@ | ||
This update includes an additional popup for the new Quick Start sample, operation completed event and README updates. | ||
This update adds a small improvement to the module installer and a new setup guide editor window flow to help new users get started. | ||
|
||
## Changelog | ||
|
||
### Added | ||
- support for response codes [#62](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/62) | ||
|
||
### Updated | ||
- refactor of WebRequestDispatcher [#59](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/59) | ||
- import timeout to module installer [#70](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/70) | ||
- Add new setup guide window [#71](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/71) | ||
- added function for folder size in MB [#72](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/72) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
srcnalt
Author
Contributor
|
||
|
||
### Fixed | ||
- fixed an issue with the popup don't ask again pref was not updating correctly [#58](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/58) | ||
- various editor window layout fixes [#73](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/73) |
This file was deleted.
Oops, something went wrong.
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
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,34 @@ | ||
name: Update unity sdk | ||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
types: [closed] | ||
|
||
jobs: | ||
update-submodule: | ||
if: github.event.pull_request.merged == true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo with submodule | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: "readyplayerme/Unity-SDK" | ||
submodules: true | ||
fetch-depth: 0 | ||
ref: develop | ||
token: ${{ secrets.DEV_SDK_TOKEN }} | ||
|
||
- name: Update submodule | ||
run: | | ||
cd Assets/Ready\ Player\ Me/Core | ||
git checkout develop | ||
git pull origin develop | ||
- name: Commit and push changes | ||
run: | | ||
git config --global user.name "dev-sdk" | ||
git config --global user.email "[email protected]" | ||
git add . | ||
git commit -m 'Update submodule' | ||
git push origin develop |
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
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
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
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
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
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
Oops, something went wrong.
'DirectoryUtility' does not contain a definition for 'GetFolderSizeInMb'