diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-04-17 17:13:27 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-04-17 17:22:15 +0000 |
| commit | 6a9567875d7f87839a3d90ecaa03cc272b9687d5 (patch) | |
| tree | b8dddd9d028a7b565cdf123233b37226740cc062 /dist | |
| parent | new windows bundling scheme (diff) | |
| download | alive-6a9567875d7f87839a3d90ecaa03cc272b9687d5.tar.gz alive-6a9567875d7f87839a3d90ecaa03cc272b9687d5.zip | |
prepare for repo transition alivecoding -> alive
Diffstat (limited to 'dist')
| -rwxr-xr-x | dist/pack-win.sh | 6 | ||||
| -rwxr-xr-x | dist/release.sh | 21 | ||||
| -rw-r--r-- | dist/rocks/alive-scm-1.rockspec | 2 |
3 files changed, 16 insertions, 13 deletions
diff --git a/dist/pack-win.sh b/dist/pack-win.sh index 9157a07..06595f6 100755 --- a/dist/pack-win.sh +++ b/dist/pack-win.sh @@ -43,11 +43,11 @@ https://alive.s-ol.nu/internals/topics/extensions.md.html EOF cat <<EOF >"dist/$BUNDLE/README.md" -alivecoding $TAG -================ +alive $TAG +========== https://alive.s-ol.nu -https://github.com/s-ol/alivecoding +https://github.com/s-ol/alive License ------- diff --git a/dist/release.sh b/dist/release.sh index c7d9fa4..5fa2c5a 100755 --- a/dist/release.sh +++ b/dist/release.sh @@ -6,12 +6,13 @@ REVISION="${2:-1}" if [ "$VERSION" = scm ]; then WHERE= + TAG= VERSION="scm" else VERSION="${TAG#v}" VERSION=$(echo "$VERSION" | tr -d -) - if [ ! -z "$(git status --porcelain)" ]; then + if [ ! -z "$(git status --porcelain -uno)" ]; then echo "working directory not clean!" exit 2 fi @@ -30,18 +31,14 @@ else -- @tfield string release the web URL of this release { tag: "${TAG}" - web: "https://github.com/s-ol/alivecoding" - repo: "https://github.com/s-ol/alivecoding.git" - release: "https://github.com/s-ol/alivecoding/releases/tag/${TAG}" + web: "https://github.com/s-ol/alive" + repo: "https://github.com/s-ol/alive.git" + release: "https://github.com/s-ol/alive/releases/tag/${TAG}" } EOF WHERE=" tag = \"$TAG\"," - - git add "alv/version.moon" - git commit -m "relase $TAG" - git tag -am "version $TAG" "$TAG" fi list_modules() { @@ -56,7 +53,7 @@ package = "alive" version = "$VERSION-$REVISION" source = { - url = "git://github.com/s-ol/alivecoding.git",$WHERE + url = "git://github.com/s-ol/alive.git",$WHERE } description = { @@ -98,3 +95,9 @@ $(list_modules alv-lib) }, } STOP + +if [ -n "$TAG" ]; then + git add "alv/version.moon" "dist/rocks/alive-$VERSION-$REVISION.rockspec" + git commit -m "release $TAG" + git tag -am "version $TAG" "$TAG" +fi diff --git a/dist/rocks/alive-scm-1.rockspec b/dist/rocks/alive-scm-1.rockspec index a416842..05841b8 100644 --- a/dist/rocks/alive-scm-1.rockspec +++ b/dist/rocks/alive-scm-1.rockspec @@ -2,7 +2,7 @@ package = "alive" version = "scm-1" source = { - url = "git://github.com/s-ol/alivecoding.git", + url = "git://github.com/s-ol/alive.git", } description = { |
