I create the new module and add the release tag. But, I have found that the "Add new release" link become available only after several hours. If the link can be unavailable during several hours, I suggest to write about that in the following docs:
1. https://www.drupal.org/node/1068944
2. https://www.drupal.org/node/1015226

Issue fork drupalorg-3189882

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

wombatbuddy created an issue. See original summary.

wombatbuddy’s picture

The link appeared a few hours later.

wombatbuddy’s picture

Status: Active » Fixed
wombatbuddy’s picture

Title: The "Add new release" link doesn't available after adding of the release tag » The "Add new release" link is unavailable for several hours
Component: Packaging » Development Environments
Issue summary: View changes
Status: Fixed » Active
drumm’s picture

Assigned: Unassigned » drumm
Status: Active » Fixed

I quickly fixed this yesterday, but didn’t update the issue yet. When editing a project, there is a “Has project releases” option to enable releases in the Releases vertical tab. This defaults to being checked for full projects, with an option to disable it when promoting a sandbox project. I edited the project to re-check that option.

wombatbuddy’s picture

Thanks, but I don't see the "Releases" vertical tab and the "Has project releases" option. Also, I didn't promote this project from the sandbox. See the screenshots:

screenshot-1

screenshot-2

wombatbuddy’s picture

StatusFileSize
new129.9 KB
new119.88 KB
wombatbuddy’s picture

Status: Fixed » Active
drumm’s picture

The option to toggle whether releases are enabled for a project is removed once a project has a release. It is permanently enabled once there is a release.

I’ll double check what this looks like for new projects.

wombatbuddy’s picture

Take a look at this project, that hasn't a release yet:
https://www.drupal.org/project/gc
I don't see the “Has project releases” option, and you?

drumm’s picture

Title: The "Add new release" link is unavailable for several hours » Ensure “Has releases” is in sync with full/sandbox project type
Project: Drupal.org infrastructure » Drupal.org customizations
Version: » 7.x-3.x-dev
Component: Development Environments » Code

I missed that we have “Has project releases” locked down to admin-only, which explains why you can not see that vertical tab and checkbox.

What probably happened is some combination of the full/sandbox project type, previewing, etc, got the field set incorrectly. For example, one of the places that the field value is set to disable releases is when previewing and the project type is currently sandbox. Changing it to full project before saving doesn’t have a corresponding way to reset releases to enabled.

Regardless of how it happened, for Drupal.org, we always want full projects to have releases enabled, and sandbox projects to have releases disabled.

  • drumm committed 26cba10 on 7.x-3.x
    Issue #3189882 by drumm, wombatbuddy: Ensure “Has releases” is in sync...
drumm’s picture

Status: Active » Fixed

This is now deployed, along with a couple other small cleanups, like fixing PHP notices in project_release module I found along the way.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.