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

Commit

Permalink
Merge pull request #6 from mll-lab/delete_unnecessary_version_prefix
Browse files Browse the repository at this point in the history
spawnia authored Aug 12, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents bb1e10f + 7438bb2 commit 64289df
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/Tecan/TecanProtocol.php
Original file line number Diff line number Diff line change
@@ -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()),
]);

2 changes: 1 addition & 1 deletion tests/Unit/Tecan/TecanProtocolTest.php
Original file line number Diff line number Diff line change
@@ -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
";
}

0 comments on commit 64289df

Please sign in to comment.