Skip to content

Commit

Permalink
Migrate to composer-push. (#50)
Browse files Browse the repository at this point in the history
* Migrate to `composer-push`.

* Fix replace

* Add licence to composer.json
  • Loading branch information
Elendev authored Jul 21, 2021
1 parent 5ca948c commit 6d934d4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.7.0] - 21.07.2021
* Rename from `elendev/nexus-composer-push` to `elendev/composer-push`. #50
* Add `Apache-2.0` to `composer.json`. #50

## [0.6.1] - 21.07.2021
* Add `artifactory` support by using `"type": "artyfactory"` in configuration. #49
* Last version of `elendev/nexus-composer-push`, use `elendev/composer-push` instead.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ Currently supported repositories are:

## Installation
```bash
$ composer require elendev/nexus-composer-push
$ composer require elendev/composer-push
```

**Important note**

This plugin is deprecated, we highly recommend that you use `elendev/composer-push` now.
This plugin is the continuation of `elendev/nexus-composer-push`, you have to migrate to this one if you haven't done it yet.

## Usage
Many of the options are optional since they can be added directly to the `composer.json` file.
Expand Down
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "elendev/nexus-composer-push",
"name": "elendev/composer-push",
"description": "Provide a Push command to composer to push to repositories",
"type": "composer-plugin",
"license": "Apache-2.0",
"authors": [
{
"name": "Elendev",
Expand Down Expand Up @@ -29,6 +30,9 @@
"phpunit/phpunit": "^8 || ^9",
"composer/composer": "^1.8 || ^2.0"
},
"replace": {
"elendev/nexus-composer-push": "*"
},
"suggest": {
"elendev/composer-push": "Replaces the elendev/nexus-composer-push repository, which is deprecated."
}
Expand Down

0 comments on commit 6d934d4

Please sign in to comment.