Skip to content

Commit

Permalink
adds the version from the env var
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianconcept committed Dec 22, 2023
1 parent fc64b8f commit f792ff6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Ride/RideService.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -337,11 +337,14 @@ RideService >> setUp [

{ #category : #actions }
RideService >> start [

self setUp.
Ride log: ('{1} starting...' format: { self class name }).
self maitre start.
self server start.
Ride log: ('{1} started' format: { self class name }).
Ride log: ('{1} {2} started' format: {
self class name.
self version })
]

{ #category : #actions }
Expand All @@ -353,3 +356,9 @@ RideService >> stop [
Ride log: ('{1} stopped' format: { self class name }).
self reset
]

{ #category : #accessing }
RideService >> version [

^ OSEnvironment current at: 'VERSION' ifAbsent: [ 'v?.?.?' ]
]

0 comments on commit f792ff6

Please sign in to comment.