release/README.md
earthly-technologies organization secrets.
./earthly secrets --org earthly-technologies --project core ls
export RELEASE_TAG="v..."
export PRERELEASE="true-or-false"
git checkout main && git pull
gitk (aka git-gui) to see which PRs will go into this release.| Platform | Status |
|---|---|
| MacOS (x86) | |
| MacOS (M1) |
cd release
env -i HOME="$HOME" PATH="$PATH" SSH_AUTH_SOCK="$SSH_AUTH_SOCK" RELEASE_TAG="$RELEASE_TAG" USER="$USER" PRERELEASE="$PRERELEASE" ./release.sh
main into docs-0.8. You can watch for it here:
In case the workflow fails the manual process is:
git checkout docs-0.8 && git pull && git merge main && git push
docs-0.8 branch to update all docs as soon as a new release is available in this repo which you should then review & merge (An example PR can be found here).docs-0.8 into main.
git checkout main && git merge docs-0.8 && git push
main branch, do the following:
git checkout -b soon-to-be-main && git push origin soon-to-be-maingit checkout main && git pushrelease-v... branch into main.#announcements, together with a link to the release's GitHub page. If you have Slack markdown editing activated, you can copy the markdown version of the text.To perform a test release to a personal repo, first:
earthly/earthly, and earthly/homebrew-earthlyuser/github-token (e.g. earthly secrets set /user/github-token keep-it-secret)Then run:
RELEASE_TAG=v0.5.10 GITHUB_USER=mygithubuser DOCKERHUB_USER=mydockerhubuser EARTHLY_REPO=earthly BREW_REPO=homebrew-earthly GITHUB_SECRET_PATH=user/github-token ./release.sh
NOTE: apt and yum repos do not currently support test releases. (TODO: fix this)
If the release-homebrew fails with a rejected git push, you may have to delete the remote branch by running the following under the interactive debugger:
git push "$GIT_USERNAME" --delete "release-$RELEASE_TAG"
If you need to rollback/disable a version:
edit release button, then check the This is a prerelease checkbox.git checkout main
git revert --no-commit 123abc..HEAD # where `123abc` is the sha1 commit to roll back to
git commit # enter a message saying you are rolling back
git push
(aborted release/not recommended), e.g.:
## v0.7.18 - 2023-09-18 (aborted release/not recommended)Docker-in-Docker (dind) images change less frequently than earthly, but take a long time to build. earthly/dind images and their releases are maintained in project repo.
We currently have syntax highlighting for the following:
Release instructions can be found in the project repo.
Intellij pulls its syntax highlighting from the same repo used by VSCODE + GitHub and so should be released after to keep up to date.
Go to the repo
Make relevant changes to the branches + test in this order:
Sign + release the changes from each branch in this order:
Follow the instructions on how to sign and release as written in the README