@@ -389,38 +389,6 @@ jobs:
389
389
run : |
390
390
echo "::set-output name=new::$(./scripts/newCargoVersion.sh)"
391
391
392
- - name : " Add Git Tag Ref for Version"
393
- if : " ${{ steps.cargo-version.outputs.new == 'true' }}"
394
- uses : " actions/github-script@v2"
395
- with :
396
- github-token : " ${{ secrets.GITHUB_TOKEN }}"
397
- script : |
398
- github.git.createRef({
399
- owner: "${{ github.repository_owner }}",
400
- repo: "json-logic-rs",
401
- ref: "refs/tags/v${{ steps.get-version.outputs.version }}",
402
- sha: "${{ github.sha }}",
403
- })
404
-
405
- - name : " Add GitHub Annotated Tag for Version"
406
- if : " ${{ steps.cargo-version.outputs.new == 'true' }}"
407
- uses : " actions/github-script@v2"
408
- with :
409
- github-token : " ${{ secrets.GITHUB_TOKEN }}"
410
- script : |
411
- github.git.createTag({
412
- owner: "${{ github.repository_owner }}",
413
- repo: "json-logic-rs",
414
- tag: "v${{ steps.get-version.outputs.version }}",
415
- message: "Vesrion ${{ steps.get-version.outputs.version }}",
416
- object: "${{ github.sha }}",
417
- type: "commit",
418
- tagger: {
419
- name: "${{ github.actor }}",
420
-
421
- }
422
- })
423
-
424
392
- name : " Check if new NPM version"
425
393
id : npm-version
426
394
shell : bash
@@ -488,6 +456,38 @@ jobs:
488
456
TWINE_USERNAME : " __token__"
489
457
TWINE_PASSWORD : " ${{ secrets.PYPI_TOKEN }}"
490
458
459
+ - name : " Add Git Tag Ref for Version"
460
+ if : " ${{ steps.cargo-version.outputs.new == 'true' }}"
461
+ uses : " actions/github-script@v2"
462
+ with :
463
+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
464
+ script : |
465
+ github.git.createRef({
466
+ owner: "${{ github.repository_owner }}",
467
+ repo: "json-logic-rs",
468
+ ref: "refs/tags/v${{ steps.get-version.outputs.version }}",
469
+ sha: "${{ github.sha }}",
470
+ })
471
+
472
+ - name : " Add GitHub Annotated Tag for Version"
473
+ if : " ${{ steps.cargo-version.outputs.new == 'true' }}"
474
+ uses : " actions/github-script@v2"
475
+ with :
476
+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
477
+ script : |
478
+ github.git.createTag({
479
+ owner: "${{ github.repository_owner }}",
480
+ repo: "json-logic-rs",
481
+ tag: "v${{ steps.get-version.outputs.version }}",
482
+ message: "Vesrion ${{ steps.get-version.outputs.version }}",
483
+ object: "${{ github.sha }}",
484
+ type: "commit",
485
+ tagger: {
486
+ name: "${{ github.actor }}",
487
+
488
+ }
489
+ })
490
+
491
491
distribute-py-wheels-mac-windows :
492
492
name : " Distribute Mac and Windows Python Wheels"
493
493
needs : ["distribute", "build-python-wheels-mac-windows"]
@@ -511,13 +511,12 @@ jobs:
511
511
uses : " actions/download-artifact@v1"
512
512
with :
513
513
name : " new-cargo"
514
- path : " tmp-new-cargo-ver"
515
514
516
515
- name : " Check for new cargo version"
517
516
id : cargo-version
518
517
shell : bash
519
518
run : |
520
- echo "::set-output name=new::$(cat tmp-new-cargo-ver)"
519
+ echo "::set-output name=new::$(cat ./new-cargo/ tmp-new-cargo-ver)"
521
520
522
521
- name : " Pull Python Wheels"
523
522
if : " ${{ steps.cargo-version.outputs.new == 'true' }}"
@@ -564,13 +563,12 @@ jobs:
564
563
uses : " actions/download-artifact@v1"
565
564
with :
566
565
name : " new-cargo"
567
- path : " tmp-new-cargo-ver"
568
566
569
567
- name : " Check for new cargo version"
570
568
id : cargo-version
571
569
shell : bash
572
570
run : |
573
- echo "::set-output name=new::$(cat tmp-new-cargo-ver)"
571
+ echo "::set-output name=new::$(cat ./new-cargo/ tmp-new-cargo-ver)"
574
572
575
573
- name : " Pull Python Wheel"
576
574
if : " ${{ steps.cargo-version.outputs.new == 'true' }}"
0 commit comments