Skip to content

Commit

Permalink
fix: package fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Iam1337 committed Oct 29, 2020
1 parent 3a34589 commit df59f5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: ⚙ Release
on:
push:
branches:
Expand All @@ -17,22 +17,12 @@ jobs:
with:
extra_plugins: |
@semantic-release/changelog
@semantic-release/npm
@semantic-release/git
branch: master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update upm branch
run: |
echo '>>> Versions'
echo ${{ steps }}
echo ${{ steps.semantic }}
echo ${{ steps.semantic.outputs }}
echo ${{ steps.semantic.outputs.new_release_version }}
echo ${{ steps.semantic.outputs.new_release_major_version }}
echo ${{ steps.semantic.outputs.new_release_minor_version }}
echo ${{ steps.semantic.outputs.new_release_patch_version }}
echo '>>> Start'
git log -1
Expand All @@ -43,19 +33,22 @@ jobs:
echo '>>> Split upm branch'
git subtree split -P "$PKG_ROOT" -b upm
echo
echo '>>> Checkout upm branch'
git checkout upm
if [[ -d "Examples" ]]; then
echo
echo '>>> Examples move to Examples~'
git mv Examples Examples~
rm -f Examples.meta
git config --global user.name 'github-bot'
git config --global user.email 'github-bot@users.noreply.github.com'
git commit -am "fix: Examples => Examples~"
fi
echo '### force overwrite remote upm branch'
echo
echo '>>> Force overwrite remote upm branch'
git push -f -u origin upm
env:
PKG_ROOT: Assets/extOSC
Expand Down
2 changes: 1 addition & 1 deletion Assets/extOSC/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "com.iam1337.extOSC",
"name": "com.iam1337.extosc",
"displayName": "extOSC",
"version": "1.0.1",
"unity": "2018.1",
Expand Down

0 comments on commit df59f5d

Please sign in to comment.