Merge pull request #9090 from filecoin-project/id/fix-snap-again
_ci_: More tweaks to snapcraft release process
This commit is contained in:
commit
a843c52e38
@ -574,10 +574,13 @@ jobs:
|
|||||||
command: sudo snap install snapcraft --classic
|
command: sudo snap install snapcraft --classic
|
||||||
- run:
|
- run:
|
||||||
name: build snap
|
name: build snap
|
||||||
command: snapcraft --use-lxd
|
command: snapcraft --use-lxd --debug
|
||||||
- run:
|
- run:
|
||||||
name: publish snap
|
name: publish snap
|
||||||
command: snapcraft push *.snap --release << parameters.channel >>
|
command: |
|
||||||
|
pwd
|
||||||
|
ls *.snap
|
||||||
|
snapcraft upload lotus-filecoin_latest_amd64.snap --release << parameters.channel >>
|
||||||
|
|
||||||
build-and-push-image:
|
build-and-push-image:
|
||||||
description: build and push docker images to public AWS ECR registry
|
description: build and push docker images to public AWS ECR registry
|
||||||
@ -1123,7 +1126,17 @@ workflows:
|
|||||||
- /.*/
|
- /.*/
|
||||||
tags:
|
tags:
|
||||||
only:
|
only:
|
||||||
- /^v\d+\.\d+\.\d+(-rc\d+)?$/
|
- /^v\d+\.\d+\.\d+$/
|
||||||
|
- publish-snapcraft:
|
||||||
|
name: publish-snapcraft-candidate
|
||||||
|
channel: candidate
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
ignore:
|
||||||
|
- /.*/
|
||||||
|
tags:
|
||||||
|
only:
|
||||||
|
- /^v\d+\.\d+\.\d+-rc\d+$/
|
||||||
- publish-dockerhub:
|
- publish-dockerhub:
|
||||||
name: publish-dockerhub
|
name: publish-dockerhub
|
||||||
tag: stable
|
tag: stable
|
||||||
|
@ -574,10 +574,13 @@ jobs:
|
|||||||
command: sudo snap install snapcraft --classic
|
command: sudo snap install snapcraft --classic
|
||||||
- run:
|
- run:
|
||||||
name: build snap
|
name: build snap
|
||||||
command: snapcraft --use-lxd
|
command: snapcraft --use-lxd --debug
|
||||||
- run:
|
- run:
|
||||||
name: publish snap
|
name: publish snap
|
||||||
command: snapcraft push *.snap --release << parameters.channel >>
|
command: |
|
||||||
|
pwd
|
||||||
|
ls *.snap
|
||||||
|
snapcraft upload lotus-filecoin_latest_amd64.snap --release << parameters.channel >>
|
||||||
|
|
||||||
build-and-push-image:
|
build-and-push-image:
|
||||||
description: build and push docker images to public AWS ECR registry
|
description: build and push docker images to public AWS ECR registry
|
||||||
@ -883,7 +886,17 @@ workflows:
|
|||||||
- /.*/
|
- /.*/
|
||||||
tags:
|
tags:
|
||||||
only:
|
only:
|
||||||
- /^v\d+\.\d+\.\d+(-rc\d+)?$/
|
- /^v\d+\.\d+\.\d+$/
|
||||||
|
- publish-snapcraft:
|
||||||
|
name: publish-snapcraft-candidate
|
||||||
|
channel: candidate
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
ignore:
|
||||||
|
- /.*/
|
||||||
|
tags:
|
||||||
|
only:
|
||||||
|
- /^v\d+\.\d+\.\d+-rc\d+$/
|
||||||
- publish-dockerhub:
|
- publish-dockerhub:
|
||||||
name: publish-dockerhub
|
name: publish-dockerhub
|
||||||
tag: stable
|
tag: stable
|
||||||
|
Loading…
Reference in New Issue
Block a user