@@ -30,6 +30,7 @@ cd $KSCRIPT_HOME
3030# # compile binary distribution (including jar and wrapper-script)
3131mkdir -p $KSCRIPT_ARCHIVE /kscript-${kscript_version} /bin
3232cp ${KSCRIPT_HOME} /build/libs/kscript ${KSCRIPT_ARCHIVE} /kscript-${kscript_version} /bin
33+ cp ${KSCRIPT_HOME} /build/libs/kscript.bat ${KSCRIPT_ARCHIVE} /kscript-${kscript_version} /bin
3334cp ${KSCRIPT_HOME} /build/libs/kscript.jar ${KSCRIPT_ARCHIVE} /kscript-${kscript_version} /bin/kscript.jar
3435
3536cd ${KSCRIPT_ARCHIVE}
@@ -91,7 +92,7 @@ github-release release \
9192 --repo kscript \
9293 --tag " v${kscript_version} " \
9394 --name " v${kscript_version} " \
94- --description " See [NEWS.md](https://github.com/holgerbrandl /kscript/blob/master/NEWS.md) for changes."
95+ --description " See [NEWS.md](https://github.com/kscripting /kscript/blob/master/NEWS.md) for changes."
9596# \
9697# --pre-release
9798
@@ -112,7 +113,7 @@ github-release upload \
112113
113114cd $KSCRIPT_HOME && rm -rf kscript_releases_*
114115
115- git clone https://github.com/holgerbrandl /kscript kscript_releases_${kscript_version}
116+ git clone https://github.com/kscripting /kscript kscript_releases_${kscript_version}
116117cd kscript_releases_${kscript_version}
117118
118119git config user.email " holgerbrandl@users.noreply.github.com"
@@ -136,7 +137,7 @@ git commit -m "v${kscript_version} release"
136137git push origin releases
137138
138139# # test the updated version pointer
139- curl https://raw.githubusercontent.com/holgerbrandl /kscript/releases/kscript
140+ curl https://raw.githubusercontent.com/kscripting /kscript/releases/kscript
140141
141142# #######################################################################
142143# ## release on sdkman
@@ -153,7 +154,7 @@ echo ${SDKMAN_CONSUMER_KEY} ${SDKMAN_CONSUMER_TOKEN} ${kscript_version}
153154
154155# # test the binary download
155156# cd ~/Desktop
156- # wget https://github.com/holgerbrandl /kscript/releases/download/v${kscript_version}/kscript-${kscript_version}-bin.zip
157+ # wget https://github.com/kscripting /kscript/releases/download/v${kscript_version}/kscript-${kscript_version}-bin.zip
157158# unzip kscript-${kscript_version}-bin.zip
158159
159160# kscript_version=1.5.1
@@ -163,7 +164,7 @@ curl -X POST \
163164 -H " Consumer-Token: ${SDKMAN_CONSUMER_TOKEN} " \
164165 -H " Content-Type: application/json" \
165166 -H " Accept: application/json" \
166- -d ' {"candidate": "kscript", "version": "' ${kscript_version} ' ", "url": "https://github.com/holgerbrandl /kscript/releases/download/v' ${kscript_version} ' /kscript-' ${kscript_version} ' -bin.zip"}' \
167+ -d ' {"candidate": "kscript", "version": "' ${kscript_version} ' ", "url": "https://github.com/kscripting /kscript/releases/download/v' ${kscript_version} ' /kscript-' ${kscript_version} ' -bin.zip"}' \
167168 https://vendors.sdkman.io/release
168169
169170
@@ -188,7 +189,7 @@ curl -X POST \
188189
189190
190191# #######################################################################
191- # ## Update the homebrew descriptor (see https://github.com/holgerbrandl /kscript/issues/50)
192+ # ## Update the homebrew descriptor (see https://github.com/kscripting /kscript/issues/50)
192193
193194cd $KSCRIPT_HOME && rm -rf homebrew-tap
194195git clone https://github.com/holgerbrandl/homebrew-tap.git
@@ -201,8 +202,8 @@ archiveMd5=$(shasum -a 256 ${KSCRIPT_ARCHIVE}/kscript-${kscript_version}.zip | c
201202cat - << EOF > kscript.rb
202203class Kscript < Formula
203204 desc "kscript"
204- homepage "https://github.com/holgerbrandl /kscript"
205- url "https://github.com/holgerbrandl /kscript/releases/download/v${kscript_version} /kscript-${kscript_version} -bin.zip"
205+ homepage "https://github.com/kscripting /kscript"
206+ url "https://github.com/kscripting /kscript/releases/download/v${kscript_version} /kscript-${kscript_version} -bin.zip"
206207 sha256 "${archiveMd5} "
207208
208209 depends_on "kotlin"
@@ -225,7 +226,7 @@ git push #origin releases
225226
226227
227228# #######################################################################
228- # ## Update the archlinux package (see https://aur.archlinux.org/packages/kscript/ and https://github.com/holgerbrandl /kscript/pull/216/)
229+ # ## Update the archlinux package (see https://aur.archlinux.org/packages/kscript/ and https://github.com/kscripting /kscript/pull/216/)
229230
230231cd $KSCRIPT_HOME && rm -rf archlinux
231232
@@ -237,14 +238,14 @@ cd archlinux
237238
238239# update the PKGBUILD file/pkgver variable
239240cat - << EOF > PKGBUILD
240- # Maintainer: Holger Brandl https://github.com/holgerbrandl /kscript/
241+ # Maintainer: Holger Brandl https://github.com/kscripting /kscript/
241242
242243pkgname=kscript
243244pkgver=${kscript_version}
244245pkgrel=1
245246pkgdesc='Enhanced scripting support for Kotlin on *nix-based systems'
246247arch=('any')
247- url='https://github.com/holgerbrandl /kscript'
248+ url='https://github.com/kscripting /kscript'
248249license=('MIT')
249250depends=('kotlin')
250251source=("\$ {pkgname}-\$ {pkgver}-bin.zip::https://github.com/holgerbrandl/\$ {pkgname}/releases/download/v\$ {pkgver}/\$ {pkgname}-\$ {pkgver}-bin.zip")
@@ -265,11 +266,11 @@ pkgbase = kscript
265266pkgdesc = Enhanced scripting support for Kotlin on *nix-based systems
266267pkgver = ${kscript_version}
267268pkgrel = 1
268- url = https://github.com/holgerbrandl /kscript
269+ url = https://github.com/kscripting /kscript
269270arch = any
270271license = MIT
271272depends = kotlin
272- source = kscript-${kscript_version} .bin.zip::https://github.com/holgerbrandl /kscript/releases/download/v${kscript_version} /kscript-${kscript_version} -bin.zip
273+ source = kscript-${kscript_version} .bin.zip::https://github.com/kscripting /kscript/releases/download/v${kscript_version} /kscript-${kscript_version} -bin.zip
273274sha256sums = ${archiveMd5}
274275
275276pkgname = kscript
@@ -293,13 +294,13 @@ docker rmi kscript
293294
294295docker build --build-arg KSCRIPT_VERSION=${kscript_version} -t kscript misc
295296
296- docker tag kscript holgerbrandl /kscript:${kscript_version}
297+ docker tag kscript kscripting /kscript:${kscript_version}
297298
298299docker login
299300
300301# https://stackoverflow.com/questions/41984399/denied-requested-access-to-the-resource-is-denied-docker
301- docker push holgerbrandl /kscript:${kscript_version}
302+ docker push kscripting /kscript:${kscript_version}
302303
303304# # create latest tag
304- docker tag kscript holgerbrandl /kscript
305- docker push holgerbrandl /kscript
305+ docker tag kscript kscripting /kscript
306+ docker push kscripting /kscript
0 commit comments