Migrate Artifacts helps automate migrating artifacts from one repository to another
- Clone this project
git clone https://github.com/achraf17/artifacts-migration
- Install dependencies
npm install
- You will need an access token from github. you can use this link to generate one. PS: repo scope level is enough for this.
- Replace the generated token in place of
ACCESS_TOKEN
on theupdateReleaseNotes.js
- Update
REPO_OWNER
,REPO_NAME
with the appropriate values. - Update the urls depending on requirements.
- Run the script
node updateReleaseNotes.js
- Update list of versions in
bintrayDownload.sh
- Update the url
- Run the script
bash bintrayDownload.sh
- Generate a cloud smith api key and update
CLOUDSMITH_API_KEY
with it - Update the naming of the files and the summary
- Run the script
bash uploadToCloudSmith.sh