File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -168,11 +168,12 @@ snap-bindist:
168
168
- apt install git -y
169
169
- touch snap-last-run-hash
170
170
- |
171
- if [ "$(cat snap-last-run-hash)" == $(git rev-parse HEAD) ]; then
172
- echo "Already built and published $(git rev-parse HEAD). Nothing to do!";
171
+ if [ "$(cat snap-last-run-hash)" == " $(git rev-parse HEAD)-${RELEASE_CHANNEL}" ]; then
172
+ echo "Already built and published $(git rev-parse HEAD) on ${RELEASE_CHANNEL} . Nothing to do!";
173
173
exit 0;
174
174
fi
175
175
- git rev-parse HEAD > snap-last-run-hash
176
+ - echo "-${RELEASE_CHANNEL}" >> snap-last-run-hash
176
177
- cd bindist/linux/snap
177
178
- echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login
178
179
- snapcraft login --with snapcraft.login
You can’t perform that action at this time.
0 commit comments