Dist version (#854)

* unique branch for each version

* fix: json_plugins

* update readme
This commit is contained in:
nyagami
2024-03-24 14:56:56 +07:00
committed by GitHub
parent cda9a0baac
commit 33ce48ad02
4 changed files with 16 additions and 18 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
$current=$(git rev-parse --abbrev-ref HEAD)
$dist='dist'
$version=$(node -e "console.log(require('./package.json').version);")
$dist="plugins/v$($version)"
$exists=$(git show-ref refs/heads/$dist)
if ($exists){