Skip to content

Latest release path calculation should only consider release-shaped locations #158

@ess

Description

@ess

Currently, the latest_release path is, effectively, just Dir["/data/appname/releases/*"].last

As we've seen recently, this totally breaks if a non-release item is inadvertently created in the releases directory.

At the least, we should filter for things that match a "probably release directory" regex or something.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions