diff --git a/README.md b/README.md index 14ebbc50..ba082014 100644 --- a/README.md +++ b/README.md @@ -67,3 +67,19 @@ steps: ## 🤝 Contributions Contributions are welcome! :heart: Please read our [Contributing Guide](.github/CONTRIBUTING.md) for information about how to get involved in this project. + +## Removing a release + +To remove a release from publication: + +Delete the release from the [releases](https://github.com/OctopusDeploy/await-task-action/releases) page and delete the corresponding tag from the [tags](https://github.com/OctopusDeploy/await-task-action/tags) page. + +To do this in the cli: + +v123 represents the release name + +``` +gh release delete v123 +git tag -d v123 +git push --delete origin v123 +``` diff --git a/package-lock.json b/package-lock.json index be51908e..392759ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "Apache-2.0", "dependencies": { "@actions/core": "^1.10.0", - "@octopusdeploy/api-client": "^3.0.4", + "@octopusdeploy/api-client": "^3.0.5", "tmp": "^0.2.1" }, "devDependencies": { @@ -1226,9 +1226,9 @@ } }, "node_modules/@octopusdeploy/api-client": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@octopusdeploy/api-client/-/api-client-3.0.4.tgz", - "integrity": "sha512-ieXccPQY2hoQ70a6EW2lJijKnEMKqs6dgXBrm4J8KZ4RNPaTBeOxT/fwNKL4mZxBXMFeVvum7ZYwmPqd11X6gg==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@octopusdeploy/api-client/-/api-client-3.0.5.tgz", + "integrity": "sha512-65TJ2H1iyqlipDEvSCSsGi2BtcifSpLQ7pTbpGjSLvjymjaOVV5IxAeP+OHemNkMthyzPHEUNAyKffy3XqaZhg==", "dependencies": { "adm-zip": "^0.5.9", "axios": "^1.2.1", @@ -7420,9 +7420,9 @@ } }, "@octopusdeploy/api-client": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@octopusdeploy/api-client/-/api-client-3.0.4.tgz", - "integrity": "sha512-ieXccPQY2hoQ70a6EW2lJijKnEMKqs6dgXBrm4J8KZ4RNPaTBeOxT/fwNKL4mZxBXMFeVvum7ZYwmPqd11X6gg==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@octopusdeploy/api-client/-/api-client-3.0.5.tgz", + "integrity": "sha512-65TJ2H1iyqlipDEvSCSsGi2BtcifSpLQ7pTbpGjSLvjymjaOVV5IxAeP+OHemNkMthyzPHEUNAyKffy3XqaZhg==", "requires": { "adm-zip": "^0.5.9", "axios": "^1.2.1", diff --git a/package.json b/package.json index 6d50e1a8..49e973d4 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ }, "dependencies": { "@actions/core": "^1.10.0", - "@octopusdeploy/api-client": "^3.0.4", + "@octopusdeploy/api-client": "^3.0.5", "tmp": "^0.2.1" }, "description": "GitHub Action to Create a Release in Octopus Deploy",