Skip to content

Commit 254b339

Browse files
committed
stop building and releasing windows powershell installer
1 parent 30f45ce commit 254b339

7 files changed

Lines changed: 3 additions & 627 deletions

File tree

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
java-version: 8
3030
distribution: 'temurin'
3131
- name: Set up Clojure
32-
uses: DeLaGuardo/setup-clojure@13.2
32+
uses: DeLaGuardo/setup-clojure@13.4
3333
with:
3434
cli: ${{ github.event.inputs.version }}
3535
- name: Check downloaded version

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
java-version: 8
2929
distribution: 'temurin'
3030
- name: Set up Clojure
31-
uses: DeLaGuardo/setup-clojure@13.2
31+
uses: DeLaGuardo/setup-clojure@13.4
3232
with:
3333
cli: latest
3434
- name: Cache clojure dependencies
@@ -55,7 +55,7 @@ jobs:
5555
git push --tags
5656
git push
5757
- name: Upload to github release
58-
run: gh release create "$VERSION" -p -t "$VERSION" "target/clojure@$VERSION.rb" "target/clojure-tools-$VERSION.tar.gz" "target/clojure-tools-$VERSION.tar.gz.sha256" "target/linux-install.sh" "target/posix-install.sh" "target/clojure-tools.zip" "target/win-install.ps1" "target/clojure-tools.zip.sha256"
58+
run: gh release create "$VERSION" -p -t "$VERSION" "target/clojure@$VERSION.rb" "target/clojure-tools-$VERSION.tar.gz" "target/clojure-tools-$VERSION.tar.gz.sha256" "target/linux-install.sh" "target/posix-install.sh"
5959
env:
6060
GH_TOKEN: ${{secrets.GH_TOKEN}}
6161
- name: Publish versioned brew recipe to tap

script/build.clj

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@
1717
(def class-dir "target/classes")
1818
(def exec-dir "target/exec")
1919
(def tar-dir "target/clojure-tools")
20-
(def zip-dir "target/win")
2120
(def uber-file (format "target/clojure-tools-%s.jar" version))
2221
(def tar-file (format "target/clojure-tools-%s.tar.gz" version))
23-
(def zip-file "target/clojure-tools.zip")
2422
(def exec-file "target/exec.jar")
2523

2624
(defn clean
@@ -63,13 +61,6 @@
6361
(b/copy-dir {:src-dirs [target-dir] :target-dir tar-dir :include "*.jar"})
6462
(b/process {:command-args ["tar" "-cvzf" tar-file "-Ctarget" "clojure-tools"]})
6563

66-
;; Collect the windows files and make the windows zip file and installer
67-
(doseq [f ["ClojureTools.psd1" "ClojureTools.psm1" "deps.edn" "example-deps.edn" "tools.edn"]]
68-
(b/copy-file {:src (str filtered-dir "/clojure/install/" f) :target (str zip-dir "/ClojureTools/" f)}))
69-
(b/copy-dir {:src-dirs [target-dir] :target-dir (str zip-dir "/ClojureTools") :include "*.jar"})
70-
(b/zip {:src-dirs [zip-dir] :zip-file zip-file})
71-
(b/copy-file {:src (str filtered-dir "/clojure/install/win-install.ps1") :target (str target-dir "/win-install.ps1")})
72-
7364
;; Embed artifact checksums within installers
7465
(let [sha (-> (:out (b/process {:command-args ["shasum" "-a" "256" tar-file] :out :capture})) (subs 0 64))]
7566
(doseq [[src target] [["clojure/install/clojure.rb"]

script/publish.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,4 @@ if [[ ! -z "$S3_BUCKET" ]]; then
2424
echo "Deploying https://download.clojure.org/install/posix-install-$version.sh"
2525
aws s3 cp --only-show-errors "target/posix-install.sh" "$S3_BUCKET/install/posix-install.sh"
2626
aws s3 cp --only-show-errors "target/posix-install.sh" "$S3_BUCKET/install/posix-install-$version.sh"
27-
echo "Deploying https://download.clojure.org/install/clojure-tools-$version.zip"
28-
echo "$(shasum -a 256 target/clojure-tools.zip | cut -c 1-64)" > target/clojure-tools.zip.sha256
29-
aws s3 cp --only-show-errors "target/clojure-tools.zip" "$S3_BUCKET/install/clojure-tools.zip"
30-
aws s3 cp --only-show-errors "target/clojure-tools.zip" "$S3_BUCKET/install/clojure-tools-$version.zip"
31-
echo "Deploying https://download.clojure.org/install/win-install-$version.ps1"
32-
aws s3 cp --only-show-errors "target/win-install.ps1" "$S3_BUCKET/install/win-install.ps1"
33-
aws s3 cp --only-show-errors "target/win-install.ps1" "$S3_BUCKET/install/win-install-$version.ps1"
3427
fi

src/main/resources/clojure/install/ClojureTools.psd1

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)