-
Notifications
You must be signed in to change notification settings - Fork 48
Publishing a New Version
jonsnyder edited this page Apr 21, 2021
·
15 revisions
Only Adobe employees are eligible to publish new extension versions.
- Fork https://git.corp.adobe.com/AdobeDocs/experience-platform.en if you haven't already, add release notes to
help/edge/release-notes.md
(usually determined by looking through merged pull requests and commits), then create a pull request against the main fork. - Open the Alloy extension repository (the one you're looking at now) locally.
- Make sure you're on the
main
branch and have pulled the latest changes. - Run
npm ci
to ensure you have the latest dependencies. - Version and tag Alloy by running
npm version major/minor/patch
. Whether you usemajor
,minor
, orpatch
depends on what has changed since the last release and how that matches semantic versioning. - Running
npm version major/minor/patch
should have changedpackage.json
andpackage-lock.json
, committed the changes, and created a new git tag. Push these changes to Github by runninggit push origin main --follow-tags --no-verify
. Go to Github and ensure you see the newly added commit and tag. - See https://github.com/adobe/alloy/wiki/Publishing-a-New-Release to publish a new Github release.
- Obtain Akamai NetStorage Upload capabilities by sending a request to Jeffrey Walter or Joel Stachowicz and include your public RSA key. This is normally found in
~/.ssh/id_rsa.pub
. If you don't have a key, you'll need to generate one by runningssh-keygen -t rsa -b 2048 -C "[email protected]"
. - Ensure release notes have been merged and published before continuing to the next step.
- With an SFTP client like Filezilla or the
sftp
terminal command, we will connect by usingdxresources.ssh.upload.akamai.com
as the host,sshacs
as the user, and then your private key file. - Once connected, navigate to the
/prod/alloy
directory, create a new directory with a name corresponding to the version being published (e.g.,2.3.0
), then uploading the builtalloy.js
andalloy.min.js
files to the new directory. - Navigate to the
/prod/alloy/latest
directory and upload the builtalloy.js
andalloy.min.js
files to that directory as well.
Congratulations! You've published a new version. Now, be sure to release a new version of the Launch extension.