Skip to content

keep_release wrong counting and wrong folder remove #870

@kszymukowicz

Description

@kszymukowicz
Q A
Issue Type Bug
Deployer Version 4.0
Local Machine OS OSX
Remote Machine OS Debian

Description

If I set:
set('keep_releases', 3);

then there is four release folders and additionally every second deploy the wrong folder is removed.

For example:

  1. in releases folder there are 3,4,5,6 folders
  2. I do deploy
  3. in release folder there is now 3,5,6,7 folders
  4. I do deploy
  5. in release folder there is now 5,6,7,8 folders
  6. I do deploy
  7. in release folder there is now 5,7,8,9 folders

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions