Skip to content

Commit

Permalink
chore(cpa): unpin template version tag for release
Browse files Browse the repository at this point in the history
  • Loading branch information
denolfe committed Nov 19, 2024
1 parent 0d63dc9 commit cc04396
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/create-payload-app/src/lib/templates.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { ProjectTemplate } from '../types.js'

import { error, info } from '../utils/log.js'
import { PACKAGE_VERSION } from './constants.js'

export function validateTemplate(templateName: string): boolean {
const validTemplates = getValidTemplates()
Expand All @@ -20,13 +19,13 @@ export function getValidTemplates(): ProjectTemplate[] {
name: 'blank',
type: 'starter',
description: 'Blank 3.0 Template',
url: `https://github.com/payloadcms/payload/templates/blank#v${PACKAGE_VERSION}`,
url: `https://github.com/payloadcms/payload/templates/blank#main`,
},
{
name: 'website',
type: 'starter',
description: 'Website Template',
url: `https://github.com/payloadcms/payload/templates/website#v${PACKAGE_VERSION}`,
url: `https://github.com/payloadcms/payload/templates/website#main`,
},

// {
Expand Down

0 comments on commit cc04396

Please sign in to comment.