Skip to content

Commit

Permalink
v3.2.0-rc.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Zefau committed Nov 24, 2024
1 parent 30cb49e commit 002e46f
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 83 deletions.
62 changes: 4 additions & 58 deletions .github/workflows/move-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,67 +36,13 @@ jobs:
# add gh extension
gh extension install heaths/gh-merge-json
# get issues from project
# gh api graphql --paginate -F user=Zefau -F project=2 -f query='
# query GetIssuesFromProject($user:String!,$project:Int!,$endCursor:String) {
# user(login: $user) {
# projectV2(number: $project) { # ProjectV2: https://docs.github.com/en/graphql/reference/objects#projectv2
# id,
# fields(first: 100) { # ProjectV2FieldConfigurationConnection
# totalCount
# nodes { # ProjectV2FieldConfiguration
# ... on ProjectV2SingleSelectField {
# id
# name
# dataType
# options { id name }
# }
# }
# }
# items(first: 100, after: $endCursor) {
# totalCount
# pageInfo { endCursor hasNextPage }
# nodes {
# id,
# content {
# ... on Issue {
# issueId: id
# number
# title
# labels(first: 100) {
# totalCount
# nodes { id name }
# }
# state
# }
# }
# status: fieldValueByName(name: "Status") {
# ... on ProjectV2ItemFieldSingleSelectValue { id name updatedAt }
# }
# version: fieldValueByName(name: "Version") {
# ... on ProjectV2ItemFieldSingleSelectValue { id name updatedAt }
# }
# }
# }
# }
# }
# }' | gh merge-json > issues.json
# get issues [ by label "#status: implemented-locally" (LA_kwDODbcoCM8AAAABfBUbZQ) ]
gh issue list --state "all" --limit 9999 --label "#status: implemented-locally :hammer_and_wrench:" --json id,labels,number,state,title > issues.json
# extract issues (open issue in the project-status "IMPLEMENTED LOCALLY" matching the given version
# ISSUES=$(cat issues.json | jq .data.user.projectV2.items.nodes | jq --arg version "$minorVersion" -c '.[] | select(.content.state == "OPEN") | select(.status.name == "IMPLEMENTED LOCALLY") | select(.version.name == $version) | [ .id, .content.issueId, [.content.labels.nodes[].name] ]')
# extract values of field `released`
# FIELDS=$(cat issues.json | jq .data.user.projectV2.fields.nodes | jq -c '.[] | select(.name == "Released") | .options')
# FIELDS=$(echo $FIELDS | cut -d' ' -f1)
# get issues
gh issue list -L 9999 --json id,labels,number,state,title > issues.json
# extract issues [ by label "#status: implemented-locally" (LA_kwDODbcoCM8AAAABfBUbZQ) matching the given version by a dedicated label ]
ISSUES=$(cat issues.json | jq -c '.[] | select(.labels[].name == "#status: implemented-locally :hammer_and_wrench:") | select(.labels[].name == "v3.2") | [ .id, .number, [ .labels[].name ]]')
# extract issues
ISSUES=$(cat issues.json | jq -c '.[] | [ .id, .number, [ .labels[].name ]]')
#
cd $GITHUB_WORKSPACE
cd .github && cd workflows
# node move-issues.js "${{ needs.prerequisites.outputs.VERSION }}" "$ISSUES" "$FIELDS"
node move-issues.js "${{ needs.prerequisites.outputs.VERSION }}" "$ISSUES"
8 changes: 4 additions & 4 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"common": {
"name": "jarvis",
"version": "3.2.0-rc.11",
"version": "3.2.0-rc.12",
"titleLang": {
"en": "jarvis - just another remarkable vis",
"uk": "jarvis - just another remarkable vis",
Expand Down Expand Up @@ -324,8 +324,8 @@
}
],
"custom": {
"version": "3.2.0-rc.11",
"ts": "1731872799",
"date": "2024-11-17"
"version": "3.2.0-rc.12",
"ts": "1732480013",
"date": "2024-11-24"
}
}
2 changes: 1 addition & 1 deletion lib/jarvis.client.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 002e46f

Please sign in to comment.