Skip to content

Commit

Permalink
Pull in Statamic version changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbushnell committed Apr 18, 2024
1 parent 9aa1896 commit 94ea7d8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
vendor
mix-manifest.json
.DS_Store
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
]
}
},
"version": "1.0.7",
"version": "1.0.8",
"require": {
"php": "^8.1",
"statamic/cms": "^4.0"
Expand Down
11 changes: 10 additions & 1 deletion src/Commands/OrbitSync.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,16 @@ public function handle()
'latest_version' => $addon->latestVersion() && $addon->version() !== $addon->latestVersion()
? $addon->latestVersion()
: null,
])->sortBy('name')->values()->toArray(),
])->sortBy('name')
->prepend([
'name' => 'Statamic',
'package' => 'statamic/cms',
'version' => Statamic::version(),
'latest_version' => Marketplace::statamic()->changelog()->availableUpdatesCount() > 0
? Marketplace::statamic()->changelog()->latest()->version
: null,
])
->values()->toArray(),
];

try {
Expand Down

0 comments on commit 94ea7d8

Please sign in to comment.