Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
`up prune` doesn't appear to prune different stages #647
Oh, ha ha that's not even what I was suggesting, but I do like that.
I was just saying that up prune doesn't appear to work for me:
When I take a peek in the S3 bucket, all the prior zip files are still there.
Update: I completely deleted my stack and started from scratch. (Drastic, I know). But starting fresh solved nothing. I'm still getting
(Note, I changed the app name to
Oh. INTERESTING. So I just ran it and it worked, except it exposed a different bug--
And it (sure enough) left two zip files—but only the zip files under staging. I would have expected it to leave two under production too, but nope, those are all gone (no worries, but good to know).
Unless that's expected behavior?
8c3ed95 changes that behaviour a bit since it targets the specific stage, but that'll be in the next release. I doubt checked though and it interestingly doesn't seem to affect Lambda if you even delete all the S3 objects hahah. I thought maybe that would explode things