Skip to content

Commit

Permalink
Add update script
Browse files Browse the repository at this point in the history
  • Loading branch information
neilsarkar committed Oct 13, 2020
1 parent ee0c40f commit 204a515
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
13 changes: 9 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Changelog
All notable changes to this project will be documented in this file.
## [0.1.73] - 2020-10-13

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### Added
- Navigator.ShowOverlay
- Navigator.HideOverlay

### Changed
- View now uses EditorUpdate instead of magic method Update, allowing subclasses to define the method themselves without using an override in editor.
- PrefabApplier no longer breaks builds :grimacing:
- StateMonoBehaviour makes all magic methods virtual and overridable

## [0.1.72] - 2020-09-04

Expand Down
20 changes: 19 additions & 1 deletion update.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
#!/bin/bash

cp -r ~/work/King_of_the_Hat/Packages/violetui .
printf 'Copy code from sample project? [y/N]: '
read answer
if [ "$answer" = "y" ]; then
cp -r ~/work/King_of_the_Hat/Packages/violetui/ .
fi

tee Runtime/Navigation/ScreenId.cs &> /dev/null <<EOF
// Names are automatically added through ScreenIdGenerator.cs, deletions are done manually :)
namespace VioletUI {
public enum ScreenId {
None = 0,
}
}
EOF

npm version patch

git commit -am "Bump version number"
git push

0 comments on commit 204a515

Please sign in to comment.