Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Gaponenko committed Nov 7, 2024
0 parents commit 0eaab38
Show file tree
Hide file tree
Showing 775 changed files with 66,953 additions and 0 deletions.
115 changes: 115 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
name: Release

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 oc-bot
git config --global user.email opencommissioning@spiratec.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 Package Tarball
if: steps.semantic.outputs.new_release_published == 'true'
run: |
mkdir package && find . -maxdepth 1 ! -name "package" ! -name "." -exec mv {} package/ \; && tar -czf OC-Core-${{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 Repo 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 release asset
gh release upload upm/v${{ steps.semantic.outputs.new_release_version }} OC-Core-${{ steps.semantic.outputs.new_release_version }}.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Empty file added .gitignore
Empty file.
38 changes: 38 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"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}"
}
]
]
}
66 changes: 66 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# 1.0.0 (2024-11-06)


### Bug Fixes

* add opencommissioning email ([1875bdf](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/1875bdf4f5ba0349177523f702ce18a7bb8a9706))
* ApiMessage header size ([273cd20](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/273cd201abaeb9e4d619bbc60f6415375028cb78))
* client comment ([5d6f6ab](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/5d6f6ab5172273895285ed13abd1bb2bb9644ab8))
* client plc instance ([fcfb39e](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/fcfb39e983aefa8854e17da327472ca03491288a))
* client reconnect ([d2dc939](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/d2dc9399fb8546d786d6fa31e40900dbd6f62739))
* client time scale ([e49faab](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/e49faab7acd6584c6ae4885ba57c1301e103ea49))
* component menu rename ([82a7709](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/82a77090baf2b1e31fbaeaa9e1ea5e47ce875185))
* demo sample hothix ([a8c6d8a](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/a8c6d8a842b57f39c66fc49b27f1a0eeb6702b20))
* deviceByte to device ([51b27f6](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/51b27f60396294e525a71417d59f029f7b52dbd6))
* Documentation ([ba983e9](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/ba983e98568daaa940cfa1e80202e264e991f4f9))
* fixed scale rotation issues fbx ([a6b8a9c](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/a6b8a9cc0ecae3b67676861b778d0ca49252ddc3))
* init commit ([c88e877](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/c88e877a5055ef9f9c0c0b13f5c002bfd74ac5ef))
* LICENSE ([680deaf](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/680deaf00212f0ffaeebf1fa51311a995f44a055))
* link drawer connection status ([063e728](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/063e7283bd8422ea807bdf600dbf328ab6e24658))
* link reset ([91d0635](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/91d0635540df0f9b7c57f5070e31427e55a23f82))
* LinkByte data byte mapping ([56c53e1](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/56c53e11e387cd169382cc7e8bb35d12dc67a455))
* MDS to data ([447a76a](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/447a76a89dfdc37f3c04b7e633062b7000962414))
* namespace rename ([03ed0b1](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/03ed0b1610ddc869d119a71e0c907882cf9ecb95))
* package.json name ([89ac044](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/89ac044db994ca477e5739c126b316e397e9cf3c))
* Panel device link override log ([2bc8efe](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/2bc8efed0c4ae751c5a289a694ff7b371a2299bb))
* Panel Sampler data link ([40dff54](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/40dff54e8174de36283279aa688c38b2bb392f73))
* panel sampler log context ([c7b0053](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/c7b00531321cf2bc94ddd453af141629023ee2f5))
* payload context ([53478de](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/53478ded90a931dd57cfb51920a8eac33bb5a30d))
* Property Field align ([5f0b063](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/5f0b063e09ea75c1f8416f4fff03238d4745681e))
* property force value ([b535aa7](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/b535aa7d59c96412fde46fb0716096e73c03c0e1))
* reactive property ([da1baef](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/da1baef91ac2e0898db6b4398bcc230fdd991a54))
* refactoring warnings ([b0bdc7f](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/b0bdc7f313a14a8e36e137034b15d48d3f206c44))
* remove lod from core ([99b96cd](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/99b96cdecfc698d2386681996f310b4ea042b70b))
* remove user email from action ([22802ce](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/22802ceea9357830170aba9f06fc59867f53c818))
* rename ([f7be623](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/f7be623a551b7fcbf2ea9efadfcce3ec7d694381))
* rename namespaces ([e7ffe00](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/e7ffe0048a6b5f3efc27d12f4c75b91444c5edde))
* rename stylesheets ([2da5bf7](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/2da5bf76622eb43fe7275b7b475f979da0efe7d2))
* rename wizard pattern ([fa06660](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/fa06660e3474410f424012e06e24972b47f3ae63))
* rider style warnings ([5fe9668](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/5fe9668cf2cf6b4274d54aa8b36d12c4bfe57f42))
* sampler link data ([2fbaab1](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/2fbaab11355f847cb173bb911c9235877768a03e))
* Scene config file name ([4fec981](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/4fec981aae9e22f9b5fd7ab57576fd5ef836feeb))
* sensor analog initialization ([06e8346](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/06e8346fd5edb6252e9e00d65fb51d2012606cb5))
* set LinkByte value from 'DataOut' instead of 'Control' ([2204c48](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/2204c4818541ed5e1e3f5b7d0349ed774b79f74a))
* spit samples in two scenes ([6ec48c3](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/6ec48c305882e0d2b946013953723849ee994b6c))
* TcAdsClient log ([1d355b4](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/1d355b40565556a03c5b93d7e6f2f4eba78c570d))
* tcAdsClient port + StateChange ([2bcf99c](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/2bcf99cc4b932b43f0f37d5aab1b8c01e4bec1b1))
* tipo in json ([8ca0668](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/8ca06689a7203047f2f51f8e01ba91d24f90ee70))
* transprot size property ([c3054bf](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/c3054bfd5036aa5c8f7ad356c3b4dde7f9888c0c))
* unit tests ([75ea1a7](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/75ea1a7f86d01627503d54b2e3f96f5172f3d90d))
* update path in samples scene ([9b1f569](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/9b1f56985fa3488149d0e8a8e7e4d8016d9d9eb9))
* workflow ([cd884bc](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/cd884bcbea481b496852411ce69c6029e430a966))


### Features

* add blender python script ([27f4b38](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/27f4b387465b23cd09d1b4094ae9e82b9813845c))
* add github actions ([653ec64](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/653ec64f259fb41ea104fe08f3df385fa7e4fdf3))
* add lod generation function ([8033ed8](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/8033ed8fde322ca50de902c9d20f45f9d0af45ef))
* add realtive product data path to sample scene ([37645bc](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/37645bcbd03fdadc6c328eba5d208e6f3102fa9b))
* Assistant pipe ([e4ff2e7](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/e4ff2e79dc4cf319ff1794b8e758adfa4ee47001))
* data links braking changes ([2547106](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/25471066a5448e60fc2f7849be8b4d2b58162388))
* LinkData rename ([110f3be](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/110f3be78d91cd73fff099a3d5a7268fac96d6ae))
* Lock data link ([c9fc8c0](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/c9fc8c0ecbaeaa6ec0e91c414361569e028c352c))
* recognize realtive paths to asset path ([f65d312](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/f65d312cd1a5a26f479f366843005f35491b9817))
* renamed namespace ([1642590](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/1642590fabf3185f48c4a4764f08e87c0e8869ca))
* tcAdsBufferType ([5d79345](https://github.com/OpenCommissioning/OC_Unity_Core_DRY/commit/5d79345099327a87e5268b7d728994c4b314764e))
7 changes: 7 additions & 0 deletions CHANGELOG.md.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Documentation.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Documentation/Images.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Documentation/Images/Axis_Inspector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
114 changes: 114 additions & 0 deletions Documentation/Images/Axis_Inspector.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Documentation/Images/Button_Inspector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0eaab38

Please sign in to comment.