- Update HISTORY.rst
- Commit the changes:
git add HISTORY.rst
git commit -m "Changelog for upcoming release 0.1.1."
- Update version number (can also be minor or major)
bumpversion patch
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.d | |
*.d.* | |
*.o | |
*.a |
@NonCPS | |
def nonCpsTest() { | |
def list = [ | |
['CreationDate': '200'], | |
['CreationDate': '300'], | |
['CreationDate': '100'], | |
] | |
def rval = list.sort true, { it['CreationDate'] } | |
#!/bin/bash | |
TABLE_NAME=$1 | |
# Get id list | |
aws dynamodb scan --table-name $TABLE_NAME | grep ID | awk '{ print $2 }' > /tmp/truncate.list | |
# Delete from id list | |
cat /tmp/truncate.list | xargs -IID aws dynamodb delete-item --table-name $TABLE_NAME --key '{ "id": { "S": "ID" }}' |
#!/bin/bash | |
TABLE_NAME=$1 | |
# Get id list | |
aws dynamodb scan --table-name $TABLE_NAME | grep ID | awk '{ print $2 }' > /tmp/truncate.list | |
# Delete from id list | |
cat /tmp/truncate.list | xargs -IID aws dynamodb delete-item --table-name $TABLE_NAME --key '{ "id": { "S": "ID" }}' |
#!/bin/bash | |
TABLE_NAME=$1 | |
# Get id list | |
aws dynamodb scan --table-name $TABLE_NAME | grep ID | awk '{ print $2 }' > /tmp/truncate.list | |
# Delete from id list | |
cat /tmp/truncate.list | xargs -IID aws dynamodb delete-item --table-name $TABLE_NAME --key '{ "id": { "S": "ID" }}' |
git add HISTORY.rst
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
Principles of Adult Behavior
import hudson.model.* | |
def queue = Hudson.instance.queue | |
println "Queue contains ${queue.items.length} items" | |
queue.clear() | |
println "Queue cleared" |
import json | |
import base64 | |
import sys | |
import os | |
def lambda_handler(event, context): | |
url = os.environ['slack_incoming_hook'] | |
headers = { |
import boto3; | |
client = boto3.client('ssm') | |
src_path = '/source/ssm/path' | |
dst_path = '/destination/ssm/path' | |
ssm_key_id = '<<keyidhere>>' | |
def printparams(params): | |
for p in params['Parameters']: | |
new_path = p['Name'].replace(src_path, dst_path) |