Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
use bash inline command (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
franzholz authored May 31, 2024
1 parent 3ae3e55 commit e0e7ebf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions Documentation/Major/UpgradeCore.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@ package and does not need to be installed for TYPO3 to work correctly.
Prior to upgrading, check which packages are currently installed and make a note
of them.

Running `composer info "typo3/*"` will output a list of all TYPO3 packages that
Running :bash:`composer info "typo3/*"` will output a list of all TYPO3 packages that
are currently installed.


Running `composer require`
--------------------------
Running :bash:`composer require`
--------------------------------

To upgrade a Composer package, run `composer require` with the package name and
To upgrade a Composer package, run :bash:`composer require` with the package name and
version number.

For example, to upgrade `typo3/cms-backend` run
`composer require typo3/cms-backend:^12.4`.
:bash:`composer require typo3/cms-backend:^12.4`.

When upgrading to a new major release, each of TYPO3's packages will need to be
upgraded.
Expand Down
6 changes: 3 additions & 3 deletions Documentation/Minor/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ There are two ways to check if a patch/bugfix update is available for an install

All supported versions of TYPO3 and their version numbers are published on `get.typo3.org <https://get.typo3.org>`_.

Alternatively, running `composer outdated -m "typo3/*"` will present a list of any TYPO3 packages that have patch/bugfix updates.
Alternatively, running :bash:`composer outdated -m "typo3/*"` will present a list of any TYPO3 packages that have patch/bugfix updates.

Execute the update
==================

To execute the update, run `composer update --with-all-dependencies "typo3/*"`.
To execute the update, run :bash:`composer update --with-all-dependencies "typo3/*"`.

This will update all TYPO3 packages, the `--with-all-dependencies` signals that any dependencies of TYPO3 should also be updated.
This will update all TYPO3 packages, the :bash:`--with-all-dependencies` signals that any dependencies of TYPO3 should also be updated.

Post update
===========
Expand Down
8 changes: 4 additions & 4 deletions Documentation/UpgradingExtensions/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ Upgrading extensions
List extensions
---------------

Like TYPO3's core, extensions are also composer packages. The `composer info` command will list all
Like TYPO3's core, extensions are also composer packages. The :bash:`composer info` command will list all
extensions that are currently installed including their name and current version number.

Check for updates
-----------------

To check if any extension upgrades are available, `composer outdated` can be used to display a list
To check if any extension upgrades are available, :bash:`composer outdated` can be used to display a list
of packages that have updates along with their new version number.

Upgrade an extension (minor)
----------------------------

Minor upgrades of an extension can be done with the composer command `composer update vendor/packagename`.
Minor upgrades of an extension can be done with the composer command :bash:`composer update vendor/packagename`.

Upgrade an extension (major)
----------------------------

Major upgrades of an extension can be done with the composer command `composer require vendor/packagename:<new version>`.
Major upgrades of an extension can be done with the composer command :bash:`composer require vendor/packagename:<new version>`.

0 comments on commit e0e7ebf

Please sign in to comment.