Skip to content

Commit

Permalink
Merge pull request #22 from PinguApps/fix-release-actions
Browse files Browse the repository at this point in the history
Updated PackageId to correct value
  • Loading branch information
pingu2k4 authored May 14, 2024
2 parents 7d9a60e + 323cdc6 commit 148e4b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,16 @@ jobs:
PR_NUMBER=$(gh pr list --base main --state merged --limit 1 --json number --jq '.[0].number')
echo "PR Number: ${PR_NUMBER}"
PR_TITLE=$(gh pr view $PR_NUMBER --json title --jq '.title')
echo "PR Title: ${PR_TITLE}"
echo "PR_TITLE=${PR_TITLE}" >> $GITHUB_ENV
- name: Extract version from PR title
id: extract-version
run: |
VERSION=$(echo "${PR_TITLE}" | grep -oP 'v[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9]+)?')
echo "Version: ${VERSION}"
VERSION_WITHOUT_V=${VERSION#v}
echo "Version -v: ${VERSION_WITHOUGH_V}"
echo "VERSION=${VERSION_WITHOUT_V}" >> $GITHUB_ENV
- name: Create Nuget Package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageOutputPath>./nupkg</PackageOutputPath>
<IncludeBuildOutput>false</IncludeBuildOutput>

<PackageId>appwrite-migrator</PackageId>
<PackageId>PinguApps.AppwriteMigrator</PackageId>
<PackageTags>appwrite;migrate;migrator;tool;database;code first;pingu;PinguApps;Pingu Apps;cli;CSharp</PackageTags>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down

0 comments on commit 148e4b2

Please sign in to comment.