diff --git a/.github/workflows/build-plugin/action.yml b/.github/workflows/build-plugin/action.yml index d8b769d..da9ae51 100644 --- a/.github/workflows/build-plugin/action.yml +++ b/.github/workflows/build-plugin/action.yml @@ -156,11 +156,20 @@ runs: shell: bash working-directory: ${{ inputs.working-directory }} + - name: Create tag + run: | + git config user.name github-actions + git config user.email github-actions@github.com + git tag -a v${{ steps.metadata.outputs.plugin-version }} -m "Release v${{ steps.metadata.outputs.plugin-version }}" + git push origin v${{ steps.metadata.outputs.plugin-version }} + shell: bash + - name: Create Github release uses: softprops/action-gh-release@v2 with: generate_release_notes: true token: ${{ inputs.token }} + tag_name: v${{ steps.metadata.outputs.plugin-version }} files: | ${{ inputs.working-directory }}/${{ steps.metadata.outputs.archive }} ${{ inputs.working-directory }}/${{ steps.metadata.outputs.archive-sha1sum }} diff --git a/.github/workflows/release-plugin.yml b/.github/workflows/release-plugin.yml index 16f7209..0a9ee6e 100644 --- a/.github/workflows/release-plugin.yml +++ b/.github/workflows/release-plugin.yml @@ -26,7 +26,7 @@ jobs: id: build_plugin uses: ./.github/workflows/build-plugin with: - policy-token: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }} + policy_token: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }} working-directory: grafana-aitraining-app # This one is untested because the plugin is still way too alpha to publish. diff --git a/grafana-aitraining-app/LICENSE b/grafana-aitraining-app/LICENSE index 9c8f3ea..ec5b534 100644 --- a/grafana-aitraining-app/LICENSE +++ b/grafana-aitraining-app/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright {yyyy} {name of copyright owner} + Copyright 2024 Grafana Labs Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -198,4 +198,4 @@ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file + limitations under the License.