@@ -146,12 +146,29 @@ jobs:
146
146
- ts/install
147
147
- ts/connect
148
148
- run : |
149
- # Upload the .deb files
149
+ # Upload the .deb files - one line per arch type
150
150
curl -X POST -F file=@./dist/hubci-arc-${CIRCLE_TAG}-amd64.deb "https://aptly.horse-dragon.ts.net/api/files/arc-${CIRCLE_TAG}"
151
151
curl -X POST -F file=@./dist/hubci-arc-${CIRCLE_TAG}-arm64.deb "https://aptly.horse-dragon.ts.net/api/files/arc-${CIRCLE_TAG}"
152
152
curl -X POST -F file=@./dist/hubci-arc-${CIRCLE_TAG}-armhf.deb "https://aptly.horse-dragon.ts.net/api/files/arc-${CIRCLE_TAG}"
153
153
154
+ # Each repo/snapshot below should include the param to not delete the uploaded files except for the last one
155
+
154
156
# Release packages for Ubuntu 20.04 "Focal"
155
- curl -X POST "https://aptly.horse-dragon.ts.net/api/repos/ftech-ubuntu-focal/file/arc-${CIRCLE_TAG}"
157
+ curl -X POST "https://aptly.horse-dragon.ts.net/api/repos/ftech-ubuntu-focal/file/arc-${CIRCLE_TAG}?noRemove=1 "
156
158
curl -X POST -H 'Content-Type: application/json' --data '{"Name": "ftech-ubuntu-focal--arc-'$CIRCLE_TAG'"}' "https://aptly.horse-dragon.ts.net/api/repos/ftech-ubuntu-focal/snapshots"
157
- curl -X PUT -H 'Content-Type: application/json' --data '{"Snapshots": [{"Component": "main", "Name": "ftech-ubuntu-focal--arc-'$CIRCLE_TAG'"}]}' "https://aptly.horse-dragon.ts.net/api/publish/ftech/ubuntu"
159
+ curl -X PUT -H 'Content-Type: application/json' --data '{"Snapshots": [{"Component": "main", "Name": "ftech-ubuntu-focal--arc-'$CIRCLE_TAG'"}]}' "https://aptly.horse-dragon.ts.net/api/publish/filesystem:ftech:ubuntu/focal"
160
+
161
+ # Release packages for Ubuntu 22.04 "Jammy"
162
+ curl -X POST "https://aptly.horse-dragon.ts.net/api/repos/ftech-ubuntu-jammy/file/arc-${CIRCLE_TAG}?noRemove=1"
163
+ curl -X POST -H 'Content-Type: application/json' --data '{"Name": "ftech-ubuntu-jammy--arc-'$CIRCLE_TAG'"}' "https://aptly.horse-dragon.ts.net/api/repos/ftech-ubuntu-jammy/snapshots"
164
+ curl -X PUT -H 'Content-Type: application/json' --data '{"Snapshots": [{"Component": "main", "Name": "ftech-ubuntu-jammy--arc-'$CIRCLE_TAG'"}]}' "https://aptly.horse-dragon.ts.net/api/publish/filesystem:ftech:ubuntu/jammy"
165
+
166
+ # Release packages for Ubuntu 23.10 "Mantic"
167
+ curl -X POST "https://aptly.horse-dragon.ts.net/api/repos/ftech-ubuntu-mantic/file/arc-${CIRCLE_TAG}?noRemove=1"
168
+ curl -X POST -H 'Content-Type: application/json' --data '{"Name": "ftech-ubuntu-mantic--arc-'$CIRCLE_TAG'"}' "https://aptly.horse-dragon.ts.net/api/repos/ftech-ubuntu-mantic/snapshots"
169
+ curl -X PUT -H 'Content-Type: application/json' --data '{"Snapshots": [{"Component": "main", "Name": "ftech-ubuntu-mantic--arc-'$CIRCLE_TAG'"}]}' "https://aptly.horse-dragon.ts.net/api/publish/filesystem:ftech:ubuntu/mantic"
170
+
171
+ # Release packages for Ubuntu "Noble"
172
+ curl -X POST "https://aptly.horse-dragon.ts.net/api/repos/ftech-ubuntu-noble/file/arc-${CIRCLE_TAG}"
173
+ curl -X POST -H 'Content-Type: application/json' --data '{"Name": "ftech-ubuntu-noble--arc-'$CIRCLE_TAG'"}' "https://aptly.horse-dragon.ts.net/api/repos/ftech-ubuntu-noble/snapshots"
174
+ curl -X PUT -H 'Content-Type: application/json' --data '{"Snapshots": [{"Component": "main", "Name": "ftech-ubuntu-noble--arc-'$CIRCLE_TAG'"}]}' "https://aptly.horse-dragon.ts.net/api/publish/filesystem:ftech:ubuntu/noble"
0 commit comments