Skip to content

Commit

Permalink
fix release version
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Sep 9, 2024
1 parent b058789 commit 448077e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
if [[ "$GITHUB_REF_TYPE" == 'tag' ]]; then
echo "ACLI_VERSION=$GITHUB_REF_NAME" >> $GITHUB_OUTPUT
else
echo "ACLI_VERSION=$GITHUB_SHA" >> $GITHUB_OUTPUT
echo "ACLI_VERSION=dev-$GITHUB_REF_NAME" >> $GITHUB_OUTPUT
fi
- name: 'Create env file'
run: |
Expand Down
2 changes: 1 addition & 1 deletion bin/acli
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if (in_array($input->getFirstArgument(), ['clear-kernel-cache', 'ckc'])) {

putenv('BUGSNAG_KEY=');
putenv('AMPLITUDE_KEY=');
putenv('ACLI_VERSION=UNKNOWN');
putenv('ACLI_VERSION=dev-unknown');
$dotenv = Dotenv::createUnsafeMutable(__DIR__ . '/..');
$dotenv->safeLoad();

Expand Down
3 changes: 0 additions & 3 deletions src/Command/CommandBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -1197,9 +1197,6 @@ public function checkForNewVersion(): bool|string
if (AcquiaDrupalEnvironmentDetector::isAhIdeEnv()) {
return false;
}
if ($this->getApplication()->getVersion() === 'UNKNOWN') {
return false;
}
try {
if (!$this->selfUpdateManager->isUpToDate()) {
return $this->selfUpdateManager->getLatestReleaseFromGithub()['tag_name'];
Expand Down

0 comments on commit 448077e

Please sign in to comment.