WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@mitchell-as
Copy link
Collaborator

Tested this on an actual beta release and it worked:

% state run promote-staging-to-production
Operating on project ActiveState/cli, located at /path/to/cli.

█ Running Script: promote-staging-to-production

█ Script Output

Promoting staging files to production...
WARNING: This will move all files from staging/ to production. Make sure Windows binaries have been signed!
Are you sure you want to continue? (y/N): y
Promoting staging files to production in bucket: state-tool
Using base prefix: update/state/
Found 28 staging files to promote:
  - staging/update/state/beta/0.48.1/darwin-amd64/info.json
  - staging/update/state/beta/0.48.1/darwin-amd64/state-darwin-amd64-0.48.1-SHAb1ea6fa.tar.gz
  - staging/update/state/beta/0.48.1/darwin-arm64/info.json
  - staging/update/state/beta/0.48.1/darwin-arm64/state-darwin-arm64-0.48.1-SHAb1ea6fa.tar.gz
  - staging/update/state/beta/0.48.1/linux-amd64/info.json
  - staging/update/state/beta/0.48.1/linux-amd64/state-linux-amd64-0.48.1-SHAb1ea6fa.tar.gz
  - staging/update/state/beta/0.48.1/linux-arm64/info.json
  - staging/update/state/beta/0.48.1/linux-arm64/state-linux-arm64-0.48.1-SHAb1ea6fa.tar.gz
  - staging/update/state/beta/0.48.1/windows-amd64/info.json
  - staging/update/state/beta/0.48.1/windows-amd64/state-windows-amd64-0.48.1-SHAb1ea6fa.zip
  - staging/update/state/beta/0.48.1/windows-amd64/state-windows-amd64-0.48.1-SHAb1ea6fa.zip.original
  - staging/update/state/beta/darwin-amd64/info.json
  - staging/update/state/beta/darwin-amd64/state-installer.tar.gz
  - staging/update/state/beta/darwin-arm64/info.json
  - staging/update/state/beta/darwin-arm64/state-installer.tar.gz
  - staging/update/state/beta/install.ps1
  - staging/update/state/beta/install.sh
  - staging/update/state/beta/legacy-install.ps1
  - staging/update/state/beta/legacy-install.sh
  - staging/update/state/beta/linux-amd64/info.json
  - staging/update/state/beta/linux-amd64/state-installer.tar.gz
  - staging/update/state/beta/linux-arm64/info.json
  - staging/update/state/beta/linux-arm64/state-installer.tar.gz
  - staging/update/state/beta/stop.ps1
  - staging/update/state/beta/stop.sh
  - staging/update/state/beta/windows-amd64/info.json
  - staging/update/state/beta/windows-amd64/state-installer.zip
  - staging/update/state/versions.json
Promoting staging/update/state/beta/0.48.1/darwin-amd64/info.json -> update/state/beta/0.48.1/darwin-amd64/info.json
Promoting staging/update/state/beta/0.48.1/darwin-amd64/state-darwin-amd64-0.48.1-SHAb1ea6fa.tar.gz -> update/state/beta/0.48.1/darwin-amd64/state-darwin-amd64-0.48.1-SHAb1ea6fa.tar.gz
Promoting staging/update/state/beta/0.48.1/darwin-arm64/info.json -> update/state/beta/0.48.1/darwin-arm64/info.json
Promoting staging/update/state/beta/0.48.1/darwin-arm64/state-darwin-arm64-0.48.1-SHAb1ea6fa.tar.gz -> update/state/beta/0.48.1/darwin-arm64/state-darwin-arm64-0.48.1-SHAb1ea6fa.tar.gz
Promoting staging/update/state/beta/0.48.1/linux-amd64/info.json -> update/state/beta/0.48.1/linux-amd64/info.json
Promoting staging/update/state/beta/0.48.1/linux-amd64/state-linux-amd64-0.48.1-SHAb1ea6fa.tar.gz -> update/state/beta/0.48.1/linux-amd64/state-linux-amd64-0.48.1-SHAb1ea6fa.tar.gz
Promoting staging/update/state/beta/0.48.1/linux-arm64/info.json -> update/state/beta/0.48.1/linux-arm64/info.json
Promoting staging/update/state/beta/0.48.1/linux-arm64/state-linux-arm64-0.48.1-SHAb1ea6fa.tar.gz -> update/state/beta/0.48.1/linux-arm64/state-linux-arm64-0.48.1-SHAb1ea6fa.tar.gz
Promoting staging/update/state/beta/0.48.1/windows-amd64/info.json -> update/state/beta/0.48.1/windows-amd64/info.json
Promoting staging/update/state/beta/0.48.1/windows-amd64/state-windows-amd64-0.48.1-SHAb1ea6fa.zip -> update/state/beta/0.48.1/windows-amd64/state-windows-amd64-0.48.1-SHAb1ea6fa.zip
Promoting staging/update/state/beta/0.48.1/windows-amd64/state-windows-amd64-0.48.1-SHAb1ea6fa.zip.original -> update/state/beta/0.48.1/windows-amd64/state-windows-amd64-0.48.1-SHAb1ea6fa.zip.original
Promoting staging/update/state/beta/darwin-amd64/info.json -> update/state/beta/darwin-amd64/info.json
Promoting staging/update/state/beta/darwin-amd64/state-installer.tar.gz -> update/state/beta/darwin-amd64/state-installer.tar.gz
Promoting staging/update/state/beta/darwin-arm64/info.json -> update/state/beta/darwin-arm64/info.json
Promoting staging/update/state/beta/darwin-arm64/state-installer.tar.gz -> update/state/beta/darwin-arm64/state-installer.tar.gz
Promoting staging/update/state/beta/install.ps1 -> update/state/beta/install.ps1
Promoting staging/update/state/beta/install.sh -> update/state/beta/install.sh
Promoting staging/update/state/beta/legacy-install.ps1 -> update/state/beta/legacy-install.ps1
Promoting staging/update/state/beta/legacy-install.sh -> update/state/beta/legacy-install.sh
Promoting staging/update/state/beta/linux-amd64/info.json -> update/state/beta/linux-amd64/info.json
Promoting staging/update/state/beta/linux-amd64/state-installer.tar.gz -> update/state/beta/linux-amd64/state-installer.tar.gz
Promoting staging/update/state/beta/linux-arm64/info.json -> update/state/beta/linux-arm64/info.json
Promoting staging/update/state/beta/linux-arm64/state-installer.tar.gz -> update/state/beta/linux-arm64/state-installer.tar.gz
Promoting staging/update/state/beta/stop.ps1 -> update/state/beta/stop.ps1
Promoting staging/update/state/beta/stop.sh -> update/state/beta/stop.sh
Promoting staging/update/state/beta/windows-amd64/info.json -> update/state/beta/windows-amd64/info.json
Promoting staging/update/state/beta/windows-amd64/state-installer.zip -> update/state/beta/windows-amd64/state-installer.zip
Promoting staging/update/state/versions.json -> update/state/versions.json
Successfully promoted 28 files from staging to production.

@mitchell-as mitchell-as requested a review from MDrakos December 22, 2025 20:03
@mitchell-as mitchell-as marked this pull request as ready for review December 22, 2025 20:03
@mitchell-as
Copy link
Collaborator Author

I know you're out right now. This is for when you get back. I was able to release a beta version without this PR being merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants