File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change
1
+ PREVIOUS_VERSION =1.8.1
1
2
VERSION =1.9.0
2
3
3
4
FILES =libtorch_$(VERSION ) +cpu-1_amd64.deb \
@@ -84,3 +85,12 @@ libtorch-$(VERSION)+cu111-1.x86_64.rpm:libtorch-$(VERSION)+cu111.tgz
84
85
fakeroot alien --to-rpm --bump=0 --version=$(VERSION ) +cu111 --target=amd64 libtorch-$(VERSION ) +cu111.tgz
85
86
86
87
88
+ update-apt :
89
+ wget https://github.com/hasktorch/libtorch-binary-for-ci/releases/download/apt/Packages_$(PREVIOUS_VERSION ) .gz
90
+ zcat Packages_$(PREVIOUS_VERSION ) .gz > Packages.org
91
+ apt-ftparchive packages ./ > Packages.new
92
+ cat Packages.new Packages.org | gzip | dd of=Packages.gz bs=1M
93
+ for i in * .deb ; do echo $$ i ; gh release upload apt $$ i ; done
94
+ cp Packages.gz Packages_$(VERSION ) .gz
95
+ gh release upload apt Packages.gz --clobber
96
+ gh release upload apt Packages_$(VERSION ) .gz
You can’t perform that action at this time.
0 commit comments