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

fix: Delete unnecessary version prefix #6

Merged
merged 1 commit into from
Aug 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## v3.0.1

### Fixed

- Delete unnecessary version prefix

## v3.0.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/Tecan/TecanProtocol.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private function initHeader(?string $userName, ?string $protocolName): Collectio
{
$version = InstalledVersions::getPrettyVersion(self::PACKAGE_NAME);
$commentCommands = new Collection([
new Comment('Created by ' . self::PACKAGE_NAME . " v.{$version}"),
new Comment('Created by ' . self::PACKAGE_NAME . " {$version}"),
new Comment('Date: ' . Carbon::now()),
]);

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Tecan/TecanProtocolTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ private function initComment(): string
{
$version = InstalledVersions::getPrettyVersion(TecanProtocol::PACKAGE_NAME);

return "C;Created by mll-lab/liquid-handling-robotics v.{$version}
return "C;Created by mll-lab/liquid-handling-robotics {$version}
C;Date: 2022-10-05 13:34:32
";
}
Expand Down