diff --git a/.github/workflows/part-publish.yml b/.github/workflows/part-publish.yml index 714dc724e..f1a2b34d9 100644 --- a/.github/workflows/part-publish.yml +++ b/.github/workflows/part-publish.yml @@ -1,5 +1,9 @@ on: - workflow_call + workflow_call: + inputs: + prereleaseSlug: + required: false + type: string jobs: npm: @@ -14,12 +18,12 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: npm publish coalesce-vue - run: npm publish ./coalesce-vue/*.tgz --tag latest --access public + run: npm publish ./coalesce-vue/*.tgz --tag ${{ inputs.prereleaseSlug || 'latest' }} --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: npm publish coalesce-vue-vuetify - run: for f in ./coalesce-vue-vuetify*/*.tgz; do npm publish $f --tag latest --access public; done + run: for f in ./coalesce-vue-vuetify*/*.tgz; do npm publish $f --tag ${{ inputs.prereleaseSlug || 'latest' }} --access public; done env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 830763bc4..1e918039d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -106,6 +106,8 @@ jobs: uses: ./.github/workflows/part-publish.yml needs: [build, validate-template] secrets: inherit + with: + prereleaseSlug: ${{ inputs.prereleaseSlug }} create-release: runs-on: ubuntu-latest diff --git a/README.md b/README.md index 4303b135f..cc39096af 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ [Documentation](https://intellitect.github.io/Coalesce) · [Get Started](#Get-Started) · [Builds](#Builds) +[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/IntelliTect/Coalesce/release.yml?branch=dev&label=Build%20Status&logo=github)](https://github.com/IntelliTect/Coalesce/actions/workflows/release.yml) [![NuGet](https://img.shields.io/nuget/v/IntelliTect.Coalesce)](https://www.nuget.org/packages/IntelliTect.Coalesce) [![npm](https://img.shields.io/npm/v/coalesce-vue/latest.svg)](https://www.npmjs.com/package/coalesce-vue) + Check out [The Coalesce Podcast](https://www.youtube.com/playlist?list=PLRjft3wXvK_srWUHS4w_lVrIfB4uNqfSD) for some step-by-step tutorials about Coalesce features. Coalesce is a framework for rapid-development of ASP.NET Core + Vue.js web applications. It works from the Entity Framework Core data model that you design, automating the creation of the glue - DTOs, API Controllers, and TypeScript - that sit between your data and the UI of your application. @@ -21,19 +23,14 @@ Coalesce is a framework for rapid-development of ASP.NET Core + Vue.js web appli ## Get Started -The best way to get started with Coalesce is using the `dotnet new` template: - -* [Vue](https://github.com/IntelliTect/Coalesce.Vue.Template): `dotnet new install IntelliTect.Coalesce.Vue.Template; dotnet new coalescevue -o MyCompany.MyApp` - -This command will use the current folder name for the project names, namespaces, etc. It will create a solution in the current folder with .Data and .Web projects. +See the [Getting Started page](https://intellitect.github.io/Coalesce/stacks/vue/getting-started.html#creating-a-project) in the documentation for an interactive template command builder that makes it easy to start a new Coalesce project with the features you need. -After you create your project, you should start reading through [the Documentation](https://intellitect.github.io/Coalesce) to see all the things that Coalesce can do. +After you create your project, be sure to reading through the rest of [the Documentation](https://intellitect.github.io/Coalesce) to see all the things that Coalesce can do. ## Builds -|channel|build|IntelliTect.Coalesce|coalesce-vue +|build|IntelliTect.Coalesce|coalesce-vue |:--:|:--:|:--:|:--: -|dev|[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/IntelliTect/Coalesce/alpha.yml?branch=dev&label=Build%20Status&logo=github)](https://github.com/IntelliTect/Coalesce/actions/workflows/alpha.yml)|[![NuGet](https://img.shields.io/static/v1?color=blue&label=nuget&logo=nuget&message=alpha%20prereleases)](https://www.nuget.org/packages/IntelliTect.Coalesce)|[![npm](https://img.shields.io/npm/v/coalesce-vue/latest.svg)](https://www.npmjs.com/package/coalesce-vue) -|master|[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/IntelliTect/Coalesce/release.yml?label=Build%20Status&logo=github)](https://github.com/IntelliTect/Coalesce/actions/workflows/release.yml)|[![NuGet](https://img.shields.io/nuget/v/IntelliTect.Coalesce.svg?label=nuget&logo=nuget)](https://www.nuget.org/packages/IntelliTect.Coalesce) +|[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/IntelliTect/Coalesce/release.yml?branch=dev&label=Build%20Status&logo=github)](https://github.com/IntelliTect/Coalesce/actions/workflows/release.yml)|[![NuGet](https://img.shields.io/nuget/v/IntelliTect.Coalesce)](https://www.nuget.org/packages/IntelliTect.Coalesce)|[![npm](https://img.shields.io/npm/v/coalesce-vue/latest.svg)](https://www.npmjs.com/package/coalesce-vue) ## Support