Skip to content

keep_releases not work #3507

Closed
Closed

Description

@jakmax76
  • Deployer version: 7.2
  • Deployment OS: linux

Set parameter:
set('keep_releases', 2);

Not affected, and version go over the default 10 number.

Activity

  1. jakmax76 commented on Feb 24, 2023

    @jakmax76
    Author

    sorry @antonmedv, have i write something wrong? why did you close the issue?

  2. Schrank commented on Feb 24, 2023

    @Schrank
    Contributor

    Maybe he thought it is an old bug which was fixed in 7.2? But if you have the problem with the newest version, we should fix it :-)

  3. antonmedv commented on Feb 24, 2023

    @antonmedv
    Member

    I think keep_releases working as expected. We have a test for this featue.

    So we can't reproduce the issue without any more additional context.

  4. jakmax76 commented on Feb 24, 2023

    @jakmax76
    Author

    hi @antonmedv
    this is the keep releases param in my deploy.php
    set('keep_releases', 2);

    this is the task

    task('deploy', [
    'deploy:prepare',
    'deploy:vendors',
    'deploy:publish',
    'deploy:clear_paths',
    'deploy:cleanup'
    ])

    deploy works as expected, but the releases increase progressively without canceling the others as I expect. They also don't stop at 10 as I read that the new default value is 10 instead of 5.

  5. antonmedv commented on Feb 24, 2023

    @antonmedv
    Member

    Can't reproduce. Please, debug.

  6. locked and limited conversation to collaborators on Feb 24, 2023
  7. converted this issue into a discussion #3511 on Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions